package com.wicket.okrapp.biz.service.impl;

import cn.hutool.core.bean.BeanUtil;
import com.wicket.okrapp.base.service.*;
import com.wicket.okrapp.biz.service.dto.req.*;
import com.wicket.okrapp.biz.service.dto.res.*;
import com.wicket.okrapp.common.util.CommonFunctionHelper;
import com.wicket.okrapp.common.util.RedisUtil;
import java.util.List;
import java.util.stream.Collectors;
import javax.annotation.Resource;

import com.wicket.okrcomponent.integration.dto.QueryConfItemMatchAnswerDetailComReqDto;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.wicket.okrapp.dal.po.mbg.OmsEvaluationObjectTargetCycle;
import com.wicket.okrapp.base.service.dto.req.QueryEvaObjTargetCycleDetailReq;
import com.wicket.okrapp.dal.po.mbg.OmsEvaObjTargetCycleWeightSet;
import com.wicket.okrapp.base.service.dto.req.QueryEvaObjTargetCycleWeightDetailReq;
import com.wicket.okrapp.biz.service.dto.common.EvaObjTargetCycleWeightDto;
import com.wicket.okrapp.common.exception.Assert;
import com.wicket.okrapp.dal.po.mbg.OmsBizAppBatch;
import com.wicket.okrapp.base.service.dto.req.QueryBizAppBatchDetailReq;
import com.wicket.okrapp.biz.service.nb.NbReviseTargetContent;
import com.wicket.okrapp.dal.po.mbg.OmsEvaObjTargetCycleOset;
import com.wicket.okrapp.base.service.dto.req.QueryEvaObjTargetCycleOsetDetailReq;
import com.wicket.okrapp.biz.service.dto.common.EvaObjTargetCycleOsetDto;
import com.wicket.okrapp.dal.po.mbg.OmsBasicInstanceChangeColumn;
import com.wicket.okrcomponent.integration.dto.GenerateTimeCycleEtcSemanticInstanceComRespDto;
import com.wicket.okrcomponent.integration.dto.GenerateTimeCycleEtcSemanticInstanceComReqDto;
import com.wicket.okrcomponent.integration.FwCompTemplateEngineClient;
import com.wicket.okrapp.dal.po.mbg.OmsTargetTimingTaskDispatch;
import com.wicket.okrcomponent.integration.dto.QueryConfItemMatchAnswerDetailComRespDto;
import com.wicket.okrcomponent.integration.FwCompConfSchemeClient;
import com.wicket.okrapp.biz.service.TaskGenService;
import com.wicket.okrapp.base.service.dto.req.BatchQueryEvaObjTargetCycleOsetListByIdsReq;
import java.util.ArrayList;
import com.wicket.okrapp.base.service.dto.req.BatchQueryEvaObjTargetCycleWeightReq;
import com.wicket.okrapp.biz.service.dto.common.TargetCycleTargeValuetDto;
import com.wicket.okrapp.biz.service.dto.common.EvaObjTargetCycleDto;
import com.wicket.okrapp.base.service.dto.req.BatchQueryEvaObjTargetCycleReq;
import com.wicket.okrapp.dal.po.mbg.OmsTargetCyclePlanSet;
import com.wicket.okrapp.base.service.dto.req.QueryTargetCyclePsetDetailReq;
import com.wicket.okrapp.biz.service.dto.common.TargetCyclePsetDto;
import com.wicket.okrcomponent.integration.dto.CheckTimeScopeSearchComRespDto;
import com.wicket.okrcomponent.integration.dto.CheckTimeScopeSearchComReqDto;
import com.wicket.okrcomponent.integration.dto.ImplementTimeTurnToStringComRespDto;
import com.wicket.okrcomponent.integration.dto.ImplementTimeTurnToStringComReqDto;
import com.wicket.okrcomponent.integration.FwCompDivineDataClient;
import com.wicket.okrcomponent.integration.FwCompInterfaceModeClient;
import com.wicket.okrapp.base.service.dto.req.BatchQueryTargetCyclePsetListByIdsReq;
import com.wicket.okrapp.dal.po.mbg.OmsTargetObjective;
import com.wicket.okrapp.base.service.dto.req.QueryTargetObjDetailReq;
import com.wicket.okrapp.dal.po.mbg.OmsBizAppStatusCheckItem;
import com.wicket.okrapp.base.service.dto.req.BatchQueryBizAppCheckItemStatReq;
import cn.hutool.core.collection.CollectionUtil;
import com.wicket.okrapp.base.service.dto.req.QueryTimerTaskPlanListReq;
import com.wicket.okrcomponent.integration.dto.ObtainLockSemanticInstanceComRespDto;
import com.wicket.okrcomponent.integration.dto.ObtainLockSemanticInstanceComReqDto;
import com.wicket.okrapp.biz.service.InterfaceModeService;
import com.wicket.okrapp.dal.po.mbg.OmsTargetObjectivePlanExtend;
import com.wicket.okrapp.base.service.dto.req.QueryTargetObjPlanExDetailReq;
import com.wicket.okrapp.dal.po.mbg.OmsVirtualOrgMemberDept;
import com.wicket.okrapp.base.service.dto.req.QueryVirtualOrgMemberDeptDetailReq;
import com.wicket.okrapp.biz.service.VirtualOrgService;

/**
 * @author ：
 * @date ：
 *
 *
 * @version 1.0
 */
@Service
public class ReviseTargetContentServiceImpl
  implements com.wicket.okrapp.biz.service.ReviseTargetContentService {

  @Resource
  private RedisUtil redisUtil;
@Resource
  private MOmsEvaObjTargetCycleWeightSetService mOmsEvaObjTargetCycleWeightSetService;
@Resource
  private MOmsEvaluationObjectTargetCycleService mOmsEvaluationObjectTargetCycleService;
@Resource
  private MOmsBizAppBatchService mOmsBizAppBatchService;
@Resource
  private NbReviseTargetContent nbReviseTargetContent;
@Resource
  private MOmsEvaObjTargetCycleOsetService mOmsEvaObjTargetCycleOsetService;
@Resource
  private MOmsBasicInstanceChangeColumnService mOmsBasicInstanceChangeColumnService;
@Resource
  private FwCompTemplateEngineClient fwCompTemplateEngineClient;
@Resource
  private MOmsTargetTimingTaskDispatchService mOmsTargetTimingTaskDispatchService;
@Resource
  private FwCompConfSchemeClient fwCompConfSchemeClient;
@Resource
  private TaskGenService taskGenService;
@Resource
  private MOmsTargetCyclePlanSetService mOmsTargetCyclePlanSetService;
@Resource
  private FwCompDivineDataClient fwCompDivineDataClient;
@Resource
  private FwCompInterfaceModeClient fwCompInterfaceModeClient;
@Resource
  private MOmsTargetObjectiveService mOmsTargetObjectiveService;
@Resource
  private MOmsBizAppStatusCheckItemService mOmsBizAppStatusCheckItemService;
@Resource
  private InterfaceModeService interfaceModeService;
@Resource
  private MOmsTargetObjectivePlanExtendService mOmsTargetObjectivePlanExtendService;
@Resource
  private MOmsVirtualOrgMemberDeptService mOmsVirtualOrgMemberDeptService;
@Resource
  private VirtualOrgService virtualOrgService;
@Resource
  private MOmsTaskService mOmsTaskService;
//@Resource
 //private MCustomFieldsService mCustomFieldsService;
/**
   * D3执行循环增权重修订变更字段(公共)[6626]
   * gen by moon at 5/13/2023, 5:20:08 AM
   */
  @Trace(operationName = "D3执行循环增权重修订变更字段(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementLoopAddWeightReviseChangeColComRespDto implementLoopAddWeightReviseChangeColCom(ImplementLoopAddWeightReviseChangeColComReqDto reqDto){
    
      
      //virtualUsage M3目标权重设置发牌【循环开始】  41469
      //ModelCode: circulationCollections
        for (EvaObjTargetCycleWeightDto circulationCollectionsRes: reqDto.getEvaObjTargetCycleWeightList()){ 
      
//virtualUsage 3-3-09查目标周期简称  41471
      OmsEvaluationObjectTargetCycle omsEvaluationObjectTargetCycle = null;
    QueryEvaObjTargetCycleDetailReq queryEvaObjTargetCycleDetailReq=new QueryEvaObjTargetCycleDetailReq();
  if(circulationCollectionsRes!=null){
      queryEvaObjTargetCycleDetailReq.setEvaObjTargetCycleId(circulationCollectionsRes.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:933005_1_41471
    }
if(reqDto!=null){
      queryEvaObjTargetCycleDetailReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:933006_1_41471
    }
  
    /*3-3-09查目标周期简称[2313]   */
    Assert.isNull(queryEvaObjTargetCycleDetailReq.getEvaObjTargetCycleId(),"D3执行循环增权重修订变更字段(公共)-3-3-09查目标周期简称-被评对象目标周期ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq.getEvaluationTemplateId(),"D3执行循环增权重修订变更字段(公共)-3-3-09查目标周期简称-冗余评价模板ID不能为空",false);
      omsEvaluationObjectTargetCycle = mOmsEvaluationObjectTargetCycleService.queryEvaObjTargetCycleDetail(queryEvaObjTargetCycleDetailReq)/*vcase invoke 本地 method 方法调用;*/;
      
      
      
//virtualUsage 3-3-09-02查目标周期权重（修改后）  41480
      OmsEvaObjTargetCycleWeightSet omsEvaObjTargetCycleWeightSet = null;
    QueryEvaObjTargetCycleWeightDetailReq queryEvaObjTargetCycleWeightDetailReq=new QueryEvaObjTargetCycleWeightDetailReq();
  if(circulationCollectionsRes!=null){
      queryEvaObjTargetCycleWeightDetailReq.setObjTargetCycleWeightSetId(circulationCollectionsRes.getObjTargetCycleWeightSetId());//SimpleFieldAssign//sourceId:933095_1_41480
    }
if(reqDto!=null){
      queryEvaObjTargetCycleWeightDetailReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:933096_1_41480
    }
  
    /*3-3-09-02查目标周期权重（修改后）[2649]   */
    Assert.isNull(queryEvaObjTargetCycleWeightDetailReq.getObjTargetCycleWeightSetId(),"D3执行循环增权重修订变更字段(公共)-3-3-09-02查目标周期权重（修改后）-对象目标周期权重设置ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleWeightDetailReq.getEvaluationTemplateId(),"D3执行循环增权重修订变更字段(公共)-3-3-09-02查目标周期权重（修改后）-冗余评价模板ID不能为空",false);
      omsEvaObjTargetCycleWeightSet = mOmsEvaObjTargetCycleWeightSetService.queryEvaObjTargetCycleWeightDetail(queryEvaObjTargetCycleWeightDetailReq)/*vcase invoke 本地 method 方法调用;*/;
      
      
      
//virtualUsage 3-3-09-02查目标周期权重（权重值）  41472
      OmsEvaObjTargetCycleWeightSet omsEvaObjTargetCycleWeightSet_2 = null;
    QueryEvaObjTargetCycleWeightDetailReq queryEvaObjTargetCycleWeightDetailReq_1=new QueryEvaObjTargetCycleWeightDetailReq();
  queryEvaObjTargetCycleWeightDetailReq_1.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:932907_1_41472
if(circulationCollectionsRes!=null){
      queryEvaObjTargetCycleWeightDetailReq_1.setObjTargetCycleWeightSetId(circulationCollectionsRes.getObjTargetCycleWeightSetId());//SimpleFieldAssign//sourceId:933026_1_41472
queryEvaObjTargetCycleWeightDetailReq_1.setWeightValue(circulationCollectionsRes.getWeightValue());//SimpleFieldAssign//sourceId:932927_1_41472
    }
if(reqDto!=null){
      queryEvaObjTargetCycleWeightDetailReq_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:932916_1_41472
    }
  
    /*3-3-09-02查目标周期权重（权重值）[2649]   */
    Assert.isNull(queryEvaObjTargetCycleWeightDetailReq_1.getObjTargetCycleWeightSetId(),"D3执行循环增权重修订变更字段(公共)-3-3-09-02查目标周期权重（权重值）-对象目标周期权重设置ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleWeightDetailReq_1.getEvaluationTemplateId(),"D3执行循环增权重修订变更字段(公共)-3-3-09-02查目标周期权重（权重值）-冗余评价模板ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleWeightDetailReq_1.getSubjectLifeCycle(),"D3执行循环增权重修订变更字段(公共)-3-3-09-02查目标周期权重（权重值）-主体生命周期不能为空",false);
      omsEvaObjTargetCycleWeightSet_2 = mOmsEvaObjTargetCycleWeightSetService.queryEvaObjTargetCycleWeightDetail(queryEvaObjTargetCycleWeightDetailReq_1)/*vcase invoke 本地 method 方法调用;*/;
      
      
      
if((omsEvaObjTargetCycleWeightSet_2 == null )) {
        //if(3-3-09-02查目标周期权重（权重值）.出参 值等于空 )  41473
        
AddReviseContSingleChangeColComRespDto addReviseContSingleChangeColComRespDto = null;
    if(omsEvaObjTargetCycleWeightSet !=null&&omsEvaluationObjectTargetCycle !=null){
          AddReviseContSingleChangeColComReqDto addReviseContSingleChangeColComReqDto=new AddReviseContSingleChangeColComReqDto();
  addReviseContSingleChangeColComReqDto.setTemplateSemanticEngineCode("MODIFY_THE_WEIGHT_LOG_NAME");//CUSTOM_CONVENTION//sourceId:933009_1_41474
addReviseContSingleChangeColComReqDto.setTableTypeCode("OMS_EVA_OBJ_TARGET_CYCLE_WEIGHT_SET");//sourceId:933012_1_41474
addReviseContSingleChangeColComReqDto.setEntityName("objTargetCycleWeightSetId");//CUSTOM_CONVENTION//sourceId:933013_1_41474
addReviseContSingleChangeColComReqDto.setObjectPropertyCode("weightValue");//CUSTOM_CONVENTION//sourceId:933015_1_41474
addReviseContSingleChangeColComReqDto.setObjectPropertyName("修订权重");//CUSTOM_CONVENTION//sourceId:933016_1_41474
addReviseContSingleChangeColComReqDto.setSubjectTypeCode("EVALUATION_TEMPLATE_LOG_NAV");//sourceId:933020_1_41474
addReviseContSingleChangeColComReqDto.setSubjectChangeType("REVISE_WEIGHT");//CUSTOM_CONVENTION//sourceId:933021_1_41474
if(circulationCollectionsRes!=null){
      addReviseContSingleChangeColComReqDto.setEntityId(circulationCollectionsRes.getObjTargetCycleWeightSetId());//SimpleFieldAssign//sourceId:933014_1_41474
addReviseContSingleChangeColComReqDto.setOriColumnContent(circulationCollectionsRes.getWeightValue()!=null?String.valueOf(circulationCollectionsRes.getWeightValue()):"");//SimpleFieldAssign//sourceId:933019_1_41474
    }
if(omsEvaObjTargetCycleWeightSet!=null){
      addReviseContSingleChangeColComReqDto.setMetaDataColumnContent(omsEvaObjTargetCycleWeightSet.getWeightValue()!=null?String.valueOf(omsEvaObjTargetCycleWeightSet.getWeightValue()):"");//SimpleFieldAssign//sourceId:933017_1_41474
addReviseContSingleChangeColComReqDto.setColumnContent(omsEvaObjTargetCycleWeightSet.getWeightValue()!=null?String.valueOf(omsEvaObjTargetCycleWeightSet.getWeightValue()):"");//SimpleFieldAssign//sourceId:933018_1_41474
    }
if(reqDto!=null){
      addReviseContSingleChangeColComReqDto.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:933022_1_41474
addReviseContSingleChangeColComReqDto.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:933023_1_41474
addReviseContSingleChangeColComReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:933010_1_41474
addReviseContSingleChangeColComReqDto.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:933011_1_41474
    }
if(omsEvaluationObjectTargetCycle!=null){
      addReviseContSingleChangeColComReqDto.setReviseSubjectContent(omsEvaluationObjectTargetCycle.getCyclelAlias());//SimpleFieldAssign//sourceId:933024_1_41474
    }
  
    /*D3新增修订单字段变更记录(权重值)[6625]   */
    Assert.isNull(addReviseContSingleChangeColComReqDto.getTemplateSemanticEngineCode(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重值)-模板引擎标识不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getTableTypeCode(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重值)-内容表类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getEntityId(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重值)-内容表主键ID不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getEntityName(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重值)-内容表主键字段英文名不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getObjectPropertyCode(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重值)-变更字段英文名不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getObjectPropertyName(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重值)-变更字段行为日志名称不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getMetaDataColumnContent(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重值)-变更字段原始值不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getColumnContent(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重值)-变更后字段中文内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getOriColumnContent(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重值)-变更前字段中文内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getSubjectTypeCode(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重值)-主体类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getSubjectChangeType(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重值)-主体变更日志类型不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getObjectTypeCode(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重值)-归属对象类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getObjectId(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重值)-归属对象内容ID不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getReviseSubjectContent(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重值)-修订主体内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getBatchCode(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重值)-批次标识不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getBatchCurrentStatus(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重值)-批次现状不能为空",false);
      addReviseContSingleChangeColComRespDto = addReviseContSingleChangeColCom(addReviseContSingleChangeColComReqDto)/*vcase invoke 同服务,同domain*/;
      
      
      
           }
      }
//virtualUsage 3-3-09-02查目标周期权重（权重值）  41475
      OmsEvaObjTargetCycleWeightSet omsEvaObjTargetCycleWeightSet_4 = null;
    QueryEvaObjTargetCycleWeightDetailReq queryEvaObjTargetCycleWeightDetailReq_2=new QueryEvaObjTargetCycleWeightDetailReq();
  queryEvaObjTargetCycleWeightDetailReq_2.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:932907_1_41475
if(circulationCollectionsRes!=null){
      queryEvaObjTargetCycleWeightDetailReq_2.setObjTargetCycleWeightSetId(circulationCollectionsRes.getObjTargetCycleWeightSetId());//SimpleFieldAssign//sourceId:933026_1_41475
queryEvaObjTargetCycleWeightDetailReq_2.setWeightScore(circulationCollectionsRes.getWeightScore());//SimpleFieldAssign//sourceId:932926_1_41475
    }
if(reqDto!=null){
      queryEvaObjTargetCycleWeightDetailReq_2.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:932916_1_41475
    }
  
    /*3-3-09-02查目标周期权重（权重值）[2649]   */
    Assert.isNull(queryEvaObjTargetCycleWeightDetailReq_2.getObjTargetCycleWeightSetId(),"D3执行循环增权重修订变更字段(公共)-3-3-09-02查目标周期权重（权重值）-对象目标周期权重设置ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleWeightDetailReq_2.getEvaluationTemplateId(),"D3执行循环增权重修订变更字段(公共)-3-3-09-02查目标周期权重（权重值）-冗余评价模板ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleWeightDetailReq_2.getSubjectLifeCycle(),"D3执行循环增权重修订变更字段(公共)-3-3-09-02查目标周期权重（权重值）-主体生命周期不能为空",false);
      omsEvaObjTargetCycleWeightSet_4 = mOmsEvaObjTargetCycleWeightSetService.queryEvaObjTargetCycleWeightDetail(queryEvaObjTargetCycleWeightDetailReq_2)/*vcase invoke 本地 method 方法调用;*/;
      
      
      
if((omsEvaObjTargetCycleWeightSet_4 == null )) {
        //if(3-3-09-02查目标周期权重（权重分）.出参 值等于空 )  41476
        
AddReviseContSingleChangeColComRespDto addReviseContSingleChangeColComRespDto_2 = null;
    if(omsEvaObjTargetCycleWeightSet !=null&&omsEvaluationObjectTargetCycle !=null){
          AddReviseContSingleChangeColComReqDto addReviseContSingleChangeColComReqDto_1=new AddReviseContSingleChangeColComReqDto();
  addReviseContSingleChangeColComReqDto_1.setTemplateSemanticEngineCode("MODIFY_THE_WEIGHT_LOG_NAME");//CUSTOM_CONVENTION//sourceId:933057_1_41478
addReviseContSingleChangeColComReqDto_1.setTableTypeCode("OMS_EVA_OBJ_TARGET_CYCLE_WEIGHT_SET");//sourceId:933060_1_41478
addReviseContSingleChangeColComReqDto_1.setEntityName("objTargetCycleWeightSetId");//CUSTOM_CONVENTION//sourceId:933061_1_41478
addReviseContSingleChangeColComReqDto_1.setObjectPropertyCode("weightScore");//CUSTOM_CONVENTION//sourceId:933063_1_41478
addReviseContSingleChangeColComReqDto_1.setObjectPropertyName("修订权重");//CUSTOM_CONVENTION//sourceId:933064_1_41478
addReviseContSingleChangeColComReqDto_1.setSubjectTypeCode("EVALUATION_TEMPLATE_LOG_NAV");//sourceId:933068_1_41478
addReviseContSingleChangeColComReqDto_1.setSubjectChangeType("REVISE_WEIGHT");//CUSTOM_CONVENTION//sourceId:933069_1_41478
if(circulationCollectionsRes!=null){
      addReviseContSingleChangeColComReqDto_1.setEntityId(circulationCollectionsRes.getObjTargetCycleWeightSetId());//SimpleFieldAssign//sourceId:933062_1_41478
addReviseContSingleChangeColComReqDto_1.setOriColumnContent(circulationCollectionsRes.getWeightScore()!=null?String.valueOf(circulationCollectionsRes.getWeightScore()):"");//SimpleFieldAssign//sourceId:933067_1_41478
    }
if(omsEvaObjTargetCycleWeightSet!=null){
      addReviseContSingleChangeColComReqDto_1.setMetaDataColumnContent(omsEvaObjTargetCycleWeightSet.getWeightScore()!=null?String.valueOf(omsEvaObjTargetCycleWeightSet.getWeightScore()):"");//SimpleFieldAssign//sourceId:933065_1_41478
addReviseContSingleChangeColComReqDto_1.setColumnContent(omsEvaObjTargetCycleWeightSet.getWeightScore()!=null?String.valueOf(omsEvaObjTargetCycleWeightSet.getWeightScore()):"");//SimpleFieldAssign//sourceId:933066_1_41478
    }
if(reqDto!=null){
      addReviseContSingleChangeColComReqDto_1.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:933070_1_41478
addReviseContSingleChangeColComReqDto_1.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:933071_1_41478
addReviseContSingleChangeColComReqDto_1.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:933058_1_41478
addReviseContSingleChangeColComReqDto_1.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:933059_1_41478
    }
if(omsEvaluationObjectTargetCycle!=null){
      addReviseContSingleChangeColComReqDto_1.setReviseSubjectContent(omsEvaluationObjectTargetCycle.getCyclelAlias());//SimpleFieldAssign//sourceId:933072_1_41478
    }
  
    /*D3新增修订单字段变更记录(权重分)[6625]   */
    Assert.isNull(addReviseContSingleChangeColComReqDto_1.getTemplateSemanticEngineCode(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重分)-模板引擎标识不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getTableTypeCode(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重分)-内容表类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getEntityId(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重分)-内容表主键ID不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getEntityName(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重分)-内容表主键字段英文名不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getObjectPropertyCode(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重分)-变更字段英文名不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getObjectPropertyName(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重分)-变更字段行为日志名称不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getMetaDataColumnContent(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重分)-变更字段原始值不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getColumnContent(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重分)-变更后字段中文内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getOriColumnContent(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重分)-变更前字段中文内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getSubjectTypeCode(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重分)-主体类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getSubjectChangeType(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重分)-主体变更日志类型不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getObjectTypeCode(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重分)-归属对象类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getObjectId(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重分)-归属对象内容ID不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getReviseSubjectContent(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重分)-修订主体内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getBatchCode(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重分)-批次标识不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getBatchCurrentStatus(),"D3执行循环增权重修订变更字段(公共)-D3新增修订单字段变更记录(权重分)-批次现状不能为空",false);
      addReviseContSingleChangeColComRespDto_2 = addReviseContSingleChangeColCom(addReviseContSingleChangeColComReqDto_1)/*vcase invoke 同服务,同domain*/;
      
      
      
           }
      }
//virtualUsage M3-执行【循环结束】  41470
      //ModelCode: circulationEnd
        }
      
ImplementLoopAddWeightReviseChangeColComRespDto retData = new ImplementLoopAddWeightReviseChangeColComRespDto();
  
  

  
  
return retData;
  }
/**
   * D3执行修订批次条件判断(公共)[6621]
   * gen by moon at 5/13/2023, 5:31:29 AM
   */
  @Trace(operationName = "D3执行修订批次条件判断(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementReviseBatchTermJudgeComRespDto implementReviseBatchTermJudgeCom(ImplementReviseBatchTermJudgeComReqDto reqDto){
    
      
      ImplementAcceptFieldRespDto receptionServiceRes_3 =null;
//virtualUsage 3-13-01查当前最新非首次批次  41446
      OmsBizAppBatch omsBizAppBatch = null;
    QueryBizAppBatchDetailReq queryBizAppBatchDetailReq=new QueryBizAppBatchDetailReq();
  queryBizAppBatchDetailReq.setIsNewbatch("TRUE");//sourceId:931337_1_41446
queryBizAppBatchDetailReq.setSubjectLifeCycle("EDITING");//sourceId:931335_1_41446
if(reqDto!=null){
      queryBizAppBatchDetailReq.setAscriptionObjectId(reqDto.getAscriptionObjectId());//SimpleFieldAssign//sourceId:931334_1_41446
queryBizAppBatchDetailReq.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:931343_1_41446
    }
  
    /*3-13-01查当前最新非首次批次[2668]   */
    Assert.isNull(queryBizAppBatchDetailReq.getAscriptionObjectId(),"D3执行修订批次条件判断(公共)-3-13-01查当前最新非首次批次-归属对象ID不能为空",false);
Assert.isNull(queryBizAppBatchDetailReq.getThemeContentId(),"D3执行修订批次条件判断(公共)-3-13-01查当前最新非首次批次-主题内容ID不能为空",false);
Assert.isNull(queryBizAppBatchDetailReq.getIsNewbatch(),"D3执行修订批次条件判断(公共)-3-13-01查当前最新非首次批次-是否最新批次不能为空",false);
Assert.isNull(queryBizAppBatchDetailReq.getSubjectLifeCycle(),"D3执行修订批次条件判断(公共)-3-13-01查当前最新非首次批次-主体生命周期不能为空",false);
      omsBizAppBatch = mOmsBizAppBatchService.queryBizAppBatchDetail(queryBizAppBatchDetailReq)/*vcase invoke 本地 method 方法调用;*/;
      
      
      
if((omsBizAppBatch!= null&&  omsBizAppBatch.getIsFirst() !=null && omsBizAppBatch.getIsFirst().equals("FALSE"))) {
        //if(3-13-01查当前最新非首次批次.是否首次批次 等于 否)  41447
        
//ModelCode: receptionService
        ImplementAcceptFieldRespDto receptionServiceRes = null;
    ImplementAcceptFieldReqDto receptionServiceReq=new ImplementAcceptFieldReqDto();
  receptionServiceReq.setCustomField("1");//CUSTOM_CONVENTION//sourceId:932214_1_41449
  
    /*M3约定：允许修订（1）[6100]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getCustomField(),"D3执行修订批次条件判断(公共)-M3约定：允许修订（1）-自定义字段不能为空",false);
      receptionServiceRes = nbReviseTargetContent.implementAcceptField(receptionServiceReq);
      
      
      
//ModelCode: receptionService
        ImplementAcceptFieldRespDto receptionServiceRes_2 = null;
    ImplementAcceptFieldReqDto receptionServiceReq_1=new ImplementAcceptFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_1.setCustomField(receptionServiceRes.getCustomField());//SimpleFieldAssign//sourceId:932216_1_41452
    }
  
    /*M3接收上文出参字段[6100]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_1.getCustomField(),"D3执行修订批次条件判断(公共)-M3接收上文出参字段-自定义字段不能为空",false);
      receptionServiceRes_2 = nbReviseTargetContent.implementAcceptField(receptionServiceReq_1);
      
      
      receptionServiceRes_3 = receptionServiceRes_2;
      }
else if((omsBizAppBatch!= null&&  omsBizAppBatch.getIsFirst() !=null && omsBizAppBatch.getIsFirst().equals("TRUE")||omsBizAppBatch == null )){
       //elseif((3-13-01查当前最新非首次批次.是否首次批次 等于 是 or 3-13-01查当前最新非首次批次.出参 值等于空 ))  41448
      
//ModelCode: receptionService
        ImplementAcceptFieldRespDto receptionServiceRes_4 = null;
    ImplementAcceptFieldReqDto receptionServiceReq_2=new ImplementAcceptFieldReqDto();
  receptionServiceReq_2.setCustomField("0");//CUSTOM_CONVENTION//sourceId:932212_1_41450
  
    /*M3约定：不允许修订（0）[6100]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_2.getCustomField(),"D3执行修订批次条件判断(公共)-M3约定：不允许修订（0）-自定义字段不能为空",false);
      receptionServiceRes_4 = nbReviseTargetContent.implementAcceptField(receptionServiceReq_2);
      
      
      
//ModelCode: receptionService
        ImplementAcceptFieldRespDto receptionServiceRes_6 = null;
    ImplementAcceptFieldReqDto receptionServiceReq_3=new ImplementAcceptFieldReqDto();
  if(receptionServiceRes_4!=null){
      receptionServiceReq_3.setCustomField(receptionServiceRes_4.getCustomField());//SimpleFieldAssign//sourceId:932216_1_41451
    }
  
    /*M3接收上文出参字段[6100]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_3.getCustomField(),"D3执行修订批次条件判断(公共)-M3接收上文出参字段-自定义字段不能为空",false);
      receptionServiceRes_6 = nbReviseTargetContent.implementAcceptField(receptionServiceReq_3);
      
      
      receptionServiceRes_3 = receptionServiceRes_6;
    }
ImplementReviseBatchTermJudgeComRespDto retData = new ImplementReviseBatchTermJudgeComRespDto();
  if(receptionServiceRes_3!=null){
      retData.setCustomField(receptionServiceRes_3.getCustomField());//SimpleFieldAssign//sourceId:932218_1
    }
  

  
  
return retData;
  }
/**
   * D3-执行循环修订目标周期目标值(公共)[6623]
   * gen by moon at 5/16/2023, 12:18:50 AM
   */
  @Trace(operationName = "D3-执行循环修订目标周期目标值(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementLoopReviseTargetCycleValueComRespDto implementLoopReviseTargetCycleValueCom(ImplementLoopReviseTargetCycleValueComReqDto reqDto){
    
      
      //virtualUsage M3-执行修订目标值【循环开始】（特殊方法）  41453
      //ModelCode: circulationCollections
        for (EvaObjTargetCycleOsetDto circulationCollectionsRes: reqDto.getEvaObjTargetCycleOsetList()){ 
      
//virtualUsage 3-3-09查目标周期详情  41468
      OmsEvaluationObjectTargetCycle omsEvaluationObjectTargetCycle = null;
    QueryEvaObjTargetCycleDetailReq queryEvaObjTargetCycleDetailReq=new QueryEvaObjTargetCycleDetailReq();
  if(circulationCollectionsRes!=null){
      queryEvaObjTargetCycleDetailReq.setEvaObjTargetCycleId(circulationCollectionsRes.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:932664_1_41468
    }
if(reqDto!=null){
      queryEvaObjTargetCycleDetailReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:932665_1_41468
    }
  
    /*3-3-09查目标周期详情[2313]   */
    Assert.isNull(queryEvaObjTargetCycleDetailReq.getEvaObjTargetCycleId(),"D3-执行循环修订目标周期目标值(公共)-3-3-09查目标周期详情-被评对象目标周期ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq.getEvaluationTemplateId(),"D3-执行循环修订目标周期目标值(公共)-3-3-09查目标周期详情-冗余评价模板ID不能为空",false);
      omsEvaluationObjectTargetCycle = mOmsEvaluationObjectTargetCycleService.queryEvaObjTargetCycleDetail(queryEvaObjTargetCycleDetailReq)/*vcase invoke 本地 method 方法调用;*/;
      
      
      
//virtualUsage 3-3-09-01查目标周期目标设置  41479
      OmsEvaObjTargetCycleOset omsEvaObjTargetCycleOset = null;
    QueryEvaObjTargetCycleOsetDetailReq queryEvaObjTargetCycleOsetDetailReq=new QueryEvaObjTargetCycleOsetDetailReq();
  queryEvaObjTargetCycleOsetDetailReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:933075_1_41479
if(circulationCollectionsRes!=null){
      queryEvaObjTargetCycleOsetDetailReq.setEvaObjOsetId(circulationCollectionsRes.getEvaObjOsetId());//SimpleFieldAssign//sourceId:932544_1_41479
    }
if(reqDto!=null){
      queryEvaObjTargetCycleOsetDetailReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:932543_1_41479
    }
  
    /*3-3-09-01查目标周期目标设置[4817]   */
    Assert.isNull(queryEvaObjTargetCycleOsetDetailReq.getEvaObjOsetId(),"D3-执行循环修订目标周期目标值(公共)-3-3-09-01查目标周期目标设置-被评对象目标设置ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleOsetDetailReq.getEvaluationTemplateId(),"D3-执行循环修订目标周期目标值(公共)-3-3-09-01查目标周期目标设置-冗余评价模板ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleOsetDetailReq.getSubjectLifeCycle(),"D3-执行循环修订目标周期目标值(公共)-3-3-09-01查目标周期目标设置-主体生命周期不能为空",false);
      omsEvaObjTargetCycleOset = mOmsEvaObjTargetCycleOsetService.queryEvaObjTargetCycleOsetDetail(queryEvaObjTargetCycleOsetDetailReq)/*vcase invoke 本地 method 方法调用;*/;
      
      
      
//virtualUsage 3-3-09-01查目标周期目标设置  41455
      OmsEvaObjTargetCycleOset omsEvaObjTargetCycleOset_2 = null;
    QueryEvaObjTargetCycleOsetDetailReq queryEvaObjTargetCycleOsetDetailReq_1=new QueryEvaObjTargetCycleOsetDetailReq();
  queryEvaObjTargetCycleOsetDetailReq_1.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:933075_1_41455
if(circulationCollectionsRes!=null){
      queryEvaObjTargetCycleOsetDetailReq_1.setEvaObjOsetId(circulationCollectionsRes.getEvaObjOsetId());//SimpleFieldAssign//sourceId:932544_1_41455
queryEvaObjTargetCycleOsetDetailReq_1.setTargetStartValue(circulationCollectionsRes.getTargetStartValue());//SimpleFieldAssign//sourceId:932545_1_41455
    }
if(reqDto!=null){
      queryEvaObjTargetCycleOsetDetailReq_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:932543_1_41455
    }
  
    /*3-3-09-01查目标周期目标设置[4817]   */
    Assert.isNull(queryEvaObjTargetCycleOsetDetailReq_1.getEvaObjOsetId(),"D3-执行循环修订目标周期目标值(公共)-3-3-09-01查目标周期目标设置-被评对象目标设置ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleOsetDetailReq_1.getEvaluationTemplateId(),"D3-执行循环修订目标周期目标值(公共)-3-3-09-01查目标周期目标设置-冗余评价模板ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleOsetDetailReq_1.getSubjectLifeCycle(),"D3-执行循环修订目标周期目标值(公共)-3-3-09-01查目标周期目标设置-主体生命周期不能为空",false);
      omsEvaObjTargetCycleOset_2 = mOmsEvaObjTargetCycleOsetService.queryEvaObjTargetCycleOsetDetail(queryEvaObjTargetCycleOsetDetailReq_1)/*vcase invoke 本地 method 方法调用;*/;
      
      
      
if((omsEvaObjTargetCycleOset_2 == null &&circulationCollectionsRes!= null&& circulationCollectionsRes.getTargetStartValue() != null )) {
        //if((3-3-09-01查目标周期目标设置（判断起始值是否变更）.出参 值等于空  and M3-修订目标值发牌【循环开始】.起始值 值不等于空 ))  41456
        
AddReviseContSingleChangeColComRespDto addReviseContSingleChangeColComRespDto = null;
    if(omsEvaObjTargetCycleOset !=null&&omsEvaluationObjectTargetCycle !=null){
          AddReviseContSingleChangeColComReqDto addReviseContSingleChangeColComReqDto=new AddReviseContSingleChangeColComReqDto();
  addReviseContSingleChangeColComReqDto.setTemplateSemanticEngineCode("MODIFY_THE_TARGET_VALUE_LOG_NAME");//CUSTOM_CONVENTION//sourceId:932571_1_41464
addReviseContSingleChangeColComReqDto.setTableTypeCode("OMS_EVA_OBJ_TARGET_CYCLE_OSET");//sourceId:932574_1_41464
addReviseContSingleChangeColComReqDto.setEntityName("evaObjOsetId");//CUSTOM_CONVENTION//sourceId:932575_1_41464
addReviseContSingleChangeColComReqDto.setObjectPropertyCode("targetStartValue");//CUSTOM_CONVENTION//sourceId:932577_1_41464
addReviseContSingleChangeColComReqDto.setObjectPropertyName("修订目标值");//CUSTOM_CONVENTION//sourceId:932578_1_41464
addReviseContSingleChangeColComReqDto.setSubjectTypeCode("EVALUATION_TEMPLATE_LOG_NAV");//sourceId:932582_1_41464
addReviseContSingleChangeColComReqDto.setSubjectChangeType("REVISE_TARGET_VALUE");//CUSTOM_CONVENTION//sourceId:932583_1_41464
if(circulationCollectionsRes!=null){
      addReviseContSingleChangeColComReqDto.setEntityId(circulationCollectionsRes.getEvaObjOsetId());//SimpleFieldAssign//sourceId:932576_1_41464
addReviseContSingleChangeColComReqDto.setOriColumnContent(circulationCollectionsRes.getTargetStartValue()!=null?String.valueOf(circulationCollectionsRes.getTargetStartValue()):"");//SimpleFieldAssign//sourceId:932581_1_41464
    }
if(omsEvaObjTargetCycleOset!=null){
      addReviseContSingleChangeColComReqDto.setMetaDataColumnContent(omsEvaObjTargetCycleOset.getTargetStartValue()!=null?String.valueOf(omsEvaObjTargetCycleOset.getTargetStartValue()):"");//SimpleFieldAssign//sourceId:932579_1_41464
addReviseContSingleChangeColComReqDto.setColumnContent(omsEvaObjTargetCycleOset.getTargetStartValue()!=null?String.valueOf(omsEvaObjTargetCycleOset.getTargetStartValue()):"");//SimpleFieldAssign//sourceId:932580_1_41464
    }
if(reqDto!=null){
      addReviseContSingleChangeColComReqDto.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:932584_1_41464
addReviseContSingleChangeColComReqDto.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:932585_1_41464
addReviseContSingleChangeColComReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:932572_1_41464
addReviseContSingleChangeColComReqDto.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:932573_1_41464
    }
if(omsEvaluationObjectTargetCycle!=null){
      addReviseContSingleChangeColComReqDto.setReviseSubjectContent(omsEvaluationObjectTargetCycle.getCyclelAlias());//SimpleFieldAssign//sourceId:932586_1_41464
    }
  
    /*D3新增修订单字段变更记录（起始值）[6625]   */
    Assert.isNull(addReviseContSingleChangeColComReqDto.getTemplateSemanticEngineCode(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（起始值）-模板引擎标识不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getTableTypeCode(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（起始值）-内容表类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getEntityId(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（起始值）-内容表主键ID不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getEntityName(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（起始值）-内容表主键字段英文名不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getObjectPropertyCode(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（起始值）-变更字段英文名不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getObjectPropertyName(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（起始值）-变更字段行为日志名称不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getMetaDataColumnContent(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（起始值）-变更字段原始值不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getColumnContent(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（起始值）-变更后字段中文内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getOriColumnContent(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（起始值）-变更前字段中文内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getSubjectTypeCode(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（起始值）-主体类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getSubjectChangeType(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（起始值）-主体变更日志类型不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getObjectTypeCode(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（起始值）-归属对象类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getObjectId(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（起始值）-归属对象内容ID不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getReviseSubjectContent(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（起始值）-修订主体内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getBatchCode(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（起始值）-批次标识不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getBatchCurrentStatus(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（起始值）-批次现状不能为空",false);
      addReviseContSingleChangeColComRespDto = addReviseContSingleChangeColCom(addReviseContSingleChangeColComReqDto)/*vcase invoke 同服务,同domain*/;
      
      
      
           }
      }
//virtualUsage 3-3-09-01查目标周期目标设置  41457
      OmsEvaObjTargetCycleOset omsEvaObjTargetCycleOset_3 = null;
    QueryEvaObjTargetCycleOsetDetailReq queryEvaObjTargetCycleOsetDetailReq_2=new QueryEvaObjTargetCycleOsetDetailReq();
  queryEvaObjTargetCycleOsetDetailReq_2.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:933075_1_41457
if(circulationCollectionsRes!=null){
      queryEvaObjTargetCycleOsetDetailReq_2.setEvaObjOsetId(circulationCollectionsRes.getEvaObjOsetId());//SimpleFieldAssign//sourceId:932544_1_41457
queryEvaObjTargetCycleOsetDetailReq_2.setTargetDiagnosticValue(circulationCollectionsRes.getTargetDiagnosticValue());//SimpleFieldAssign//sourceId:932547_1_41457
    }
if(reqDto!=null){
queryEvaObjTargetCycleOsetDetailReq_2.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:932543_1_41457
    }
  
    /*3-3-09-01查目标周期目标设置[4817]   */
    Assert.isNull(queryEvaObjTargetCycleOsetDetailReq_2.getEvaObjOsetId(),"D3-执行循环修订目标周期目标值(公共)-3-3-09-01查目标周期目标设置-被评对象目标设置ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleOsetDetailReq_2.getEvaluationTemplateId(),"D3-执行循环修订目标周期目标值(公共)-3-3-09-01查目标周期目标设置-冗余评价模板ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleOsetDetailReq_2.getSubjectLifeCycle(),"D3-执行循环修订目标周期目标值(公共)-3-3-09-01查目标周期目标设置-主体生命周期不能为空",false);
      omsEvaObjTargetCycleOset_3 = mOmsEvaObjTargetCycleOsetService.queryEvaObjTargetCycleOsetDetail(queryEvaObjTargetCycleOsetDetailReq_2)/*vcase invoke 本地 method 方法调用;*/;
      
      
      
if((omsEvaObjTargetCycleOset_3 == null )) {
        //if(3-3-09-01查目标周期目标设置（判断诊断值是否变更）.出参 值等于空 )  41459
        
AddReviseContSingleChangeColComRespDto addReviseContSingleChangeColComRespDto_2 = null;
    if(omsEvaObjTargetCycleOset !=null&&omsEvaluationObjectTargetCycle !=null){
          AddReviseContSingleChangeColComReqDto addReviseContSingleChangeColComReqDto_1=new AddReviseContSingleChangeColComReqDto();
  addReviseContSingleChangeColComReqDto_1.setTemplateSemanticEngineCode("MODIFY_THE_TARGET_VALUE_LOG_NAME");//CUSTOM_CONVENTION//sourceId:933117_1_41481
addReviseContSingleChangeColComReqDto_1.setTableTypeCode("OMS_EVA_OBJ_TARGET_CYCLE_OSET");//sourceId:933120_1_41481
addReviseContSingleChangeColComReqDto_1.setEntityName("evaObjOsetId");//CUSTOM_CONVENTION//sourceId:933121_1_41481
addReviseContSingleChangeColComReqDto_1.setObjectPropertyCode("targetDiagnosticValue");//CUSTOM_CONVENTION//sourceId:933123_1_41481
addReviseContSingleChangeColComReqDto_1.setObjectPropertyName("修订目标值");//CUSTOM_CONVENTION//sourceId:933124_1_41481
addReviseContSingleChangeColComReqDto_1.setSubjectTypeCode("EVALUATION_TEMPLATE_LOG_NAV");//sourceId:933128_1_41481
addReviseContSingleChangeColComReqDto_1.setSubjectChangeType("REVISE_TARGET_VALUE");//CUSTOM_CONVENTION//sourceId:933129_1_41481
if(circulationCollectionsRes!=null){
      addReviseContSingleChangeColComReqDto_1.setEntityId(circulationCollectionsRes.getEvaObjOsetId());//SimpleFieldAssign//sourceId:933122_1_41481
addReviseContSingleChangeColComReqDto_1.setOriColumnContent(circulationCollectionsRes.getTargetDiagnosticValue()!=null?String.valueOf(circulationCollectionsRes.getTargetDiagnosticValue()):"");//SimpleFieldAssign//sourceId:933127_1_41481
    }
if(omsEvaObjTargetCycleOset!=null){
      addReviseContSingleChangeColComReqDto_1.setMetaDataColumnContent(omsEvaObjTargetCycleOset.getTargetDiagnosticValue()!=null?String.valueOf(omsEvaObjTargetCycleOset.getTargetDiagnosticValue()):"");//SimpleFieldAssign//sourceId:933125_1_41481
addReviseContSingleChangeColComReqDto_1.setColumnContent(omsEvaObjTargetCycleOset.getTargetDiagnosticValue()!=null?String.valueOf(omsEvaObjTargetCycleOset.getTargetDiagnosticValue()):"");//SimpleFieldAssign//sourceId:933126_1_41481
    }
if(reqDto!=null){
      addReviseContSingleChangeColComReqDto_1.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:933130_1_41481
addReviseContSingleChangeColComReqDto_1.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:933131_1_41481
addReviseContSingleChangeColComReqDto_1.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:933118_1_41481
addReviseContSingleChangeColComReqDto_1.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:933119_1_41481
    }
if(omsEvaluationObjectTargetCycle!=null){
      addReviseContSingleChangeColComReqDto_1.setReviseSubjectContent(omsEvaluationObjectTargetCycle.getCyclelAlias());//SimpleFieldAssign//sourceId:933132_1_41481
    }
  
    /*D3新增修订单字段变更记录（诊断值）[6625]   */
    Assert.isNull(addReviseContSingleChangeColComReqDto_1.getTemplateSemanticEngineCode(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（诊断值）-模板引擎标识不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getTableTypeCode(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（诊断值）-内容表类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getEntityId(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（诊断值）-内容表主键ID不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getEntityName(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（诊断值）-内容表主键字段英文名不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getObjectPropertyCode(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（诊断值）-变更字段英文名不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getObjectPropertyName(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（诊断值）-变更字段行为日志名称不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getMetaDataColumnContent(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（诊断值）-变更字段原始值不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getColumnContent(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（诊断值）-变更后字段中文内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getOriColumnContent(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（诊断值）-变更前字段中文内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getSubjectTypeCode(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（诊断值）-主体类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getSubjectChangeType(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（诊断值）-主体变更日志类型不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getObjectTypeCode(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（诊断值）-归属对象类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getObjectId(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（诊断值）-归属对象内容ID不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getReviseSubjectContent(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（诊断值）-修订主体内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getBatchCode(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（诊断值）-批次标识不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getBatchCurrentStatus(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（诊断值）-批次现状不能为空",false);
      addReviseContSingleChangeColComRespDto_2 = addReviseContSingleChangeColCom(addReviseContSingleChangeColComReqDto_1)/*vcase invoke 同服务,同domain*/;
      
      
      
           }
      }
//virtualUsage 3-3-09-01查目标周期目标设置  41458
      OmsEvaObjTargetCycleOset omsEvaObjTargetCycleOset_4 = null;
    QueryEvaObjTargetCycleOsetDetailReq queryEvaObjTargetCycleOsetDetailReq_3=new QueryEvaObjTargetCycleOsetDetailReq();
  queryEvaObjTargetCycleOsetDetailReq_3.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:933075_1_41458
if(circulationCollectionsRes!=null){
      queryEvaObjTargetCycleOsetDetailReq_3.setEvaObjOsetId(circulationCollectionsRes.getEvaObjOsetId());//SimpleFieldAssign//sourceId:932544_1_41458
queryEvaObjTargetCycleOsetDetailReq_3.setTargetValue(circulationCollectionsRes.getTargetValue());//SimpleFieldAssign//sourceId:932546_1_41458
    }
if(reqDto!=null){
      queryEvaObjTargetCycleOsetDetailReq_3.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:932543_1_41458
    }
  
    /*3-3-09-01查目标周期目标设置[4817]   */
    Assert.isNull(queryEvaObjTargetCycleOsetDetailReq_3.getEvaObjOsetId(),"D3-执行循环修订目标周期目标值(公共)-3-3-09-01查目标周期目标设置-被评对象目标设置ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleOsetDetailReq_3.getEvaluationTemplateId(),"D3-执行循环修订目标周期目标值(公共)-3-3-09-01查目标周期目标设置-冗余评价模板ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleOsetDetailReq_3.getSubjectLifeCycle(),"D3-执行循环修订目标周期目标值(公共)-3-3-09-01查目标周期目标设置-主体生命周期不能为空",false);
      omsEvaObjTargetCycleOset_4 = mOmsEvaObjTargetCycleOsetService.queryEvaObjTargetCycleOsetDetail(queryEvaObjTargetCycleOsetDetailReq_3)/*vcase invoke 本地 method 方法调用;*/;
      
      
      
if((omsEvaObjTargetCycleOset_4 == null )) {
        //if(3-3-09-01查目标周期目标设置（判断目标值是否变更）.出参 值等于空 )  41461
        
AddReviseContSingleChangeColComRespDto addReviseContSingleChangeColComRespDto_4 = null;
    if(omsEvaObjTargetCycleOset !=null&&omsEvaluationObjectTargetCycle !=null){
          AddReviseContSingleChangeColComReqDto addReviseContSingleChangeColComReqDto_2=new AddReviseContSingleChangeColComReqDto();
  addReviseContSingleChangeColComReqDto_2.setTemplateSemanticEngineCode("MODIFY_THE_TARGET_VALUE_LOG_NAME");//CUSTOM_CONVENTION//sourceId:933100_1_41482
addReviseContSingleChangeColComReqDto_2.setTableTypeCode("OMS_EVA_OBJ_TARGET_CYCLE_OSET");//sourceId:933103_1_41482
addReviseContSingleChangeColComReqDto_2.setEntityName("evaObjOsetId");//CUSTOM_CONVENTION//sourceId:933104_1_41482
addReviseContSingleChangeColComReqDto_2.setObjectPropertyCode("targetValue");//CUSTOM_CONVENTION//sourceId:933106_1_41482
addReviseContSingleChangeColComReqDto_2.setObjectPropertyName("修订目标值");//CUSTOM_CONVENTION//sourceId:933107_1_41482
addReviseContSingleChangeColComReqDto_2.setSubjectTypeCode("EVALUATION_TEMPLATE_LOG_NAV");//sourceId:933111_1_41482
addReviseContSingleChangeColComReqDto_2.setSubjectChangeType("REVISE_TARGET_VALUE");//CUSTOM_CONVENTION//sourceId:933112_1_41482
if(circulationCollectionsRes!=null){
      addReviseContSingleChangeColComReqDto_2.setEntityId(circulationCollectionsRes.getEvaObjOsetId());//SimpleFieldAssign//sourceId:933105_1_41482
addReviseContSingleChangeColComReqDto_2.setOriColumnContent(circulationCollectionsRes.getTargetValue()!=null?String.valueOf(circulationCollectionsRes.getTargetValue()):"");//SimpleFieldAssign//sourceId:933110_1_41482
    }
if(omsEvaObjTargetCycleOset!=null){
      addReviseContSingleChangeColComReqDto_2.setMetaDataColumnContent(omsEvaObjTargetCycleOset.getTargetValue()!=null?String.valueOf(omsEvaObjTargetCycleOset.getTargetValue()):"");//SimpleFieldAssign//sourceId:933108_1_41482
addReviseContSingleChangeColComReqDto_2.setColumnContent(omsEvaObjTargetCycleOset.getTargetValue()!=null?String.valueOf(omsEvaObjTargetCycleOset.getTargetValue()):"");//SimpleFieldAssign//sourceId:933109_1_41482
    }
if(reqDto!=null){
      addReviseContSingleChangeColComReqDto_2.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:933113_1_41482
addReviseContSingleChangeColComReqDto_2.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:933114_1_41482
addReviseContSingleChangeColComReqDto_2.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:933101_1_41482
addReviseContSingleChangeColComReqDto_2.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:933102_1_41482
    }
if(omsEvaluationObjectTargetCycle!=null){
      addReviseContSingleChangeColComReqDto_2.setReviseSubjectContent(omsEvaluationObjectTargetCycle.getCyclelAlias());//SimpleFieldAssign//sourceId:933115_1_41482
    }
  
    /*D3新增修订单字段变更记录（目标值）[6625]   */
    Assert.isNull(addReviseContSingleChangeColComReqDto_2.getTemplateSemanticEngineCode(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（目标值）-模板引擎标识不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getTableTypeCode(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（目标值）-内容表类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getEntityId(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（目标值）-内容表主键ID不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getEntityName(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（目标值）-内容表主键字段英文名不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getObjectPropertyCode(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（目标值）-变更字段英文名不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getObjectPropertyName(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（目标值）-变更字段行为日志名称不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getMetaDataColumnContent(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（目标值）-变更字段原始值不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getColumnContent(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（目标值）-变更后字段中文内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getOriColumnContent(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（目标值）-变更前字段中文内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getSubjectTypeCode(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（目标值）-主体类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getSubjectChangeType(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（目标值）-主体变更日志类型不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getObjectTypeCode(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（目标值）-归属对象类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getObjectId(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（目标值）-归属对象内容ID不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getReviseSubjectContent(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（目标值）-修订主体内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getBatchCode(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（目标值）-批次标识不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getBatchCurrentStatus(),"D3-执行循环修订目标周期目标值(公共)-D3新增修订单字段变更记录（目标值）-批次现状不能为空",false);
      addReviseContSingleChangeColComRespDto_4 = addReviseContSingleChangeColCom(addReviseContSingleChangeColComReqDto_2)/*vcase invoke 同服务,同domain*/;
      
      
      
           }
      }
//virtualUsage M3-执行【循环结束】  41454
      //ModelCode: circulationEnd
        }
      
ImplementLoopReviseTargetCycleValueComRespDto retData = new ImplementLoopReviseTargetCycleValueComRespDto();
  
  

  
  
return retData;
  }
/**
   * D3新增修订单字段变更记录(公共)[6625]
   * gen by moon at 5/13/2023, 5:31:36 AM
   */
  @Trace(operationName = "D3新增修订单字段变更记录(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public AddReviseContSingleChangeColComRespDto addReviseContSingleChangeColCom(AddReviseContSingleChangeColComReqDto reqDto){
    
      
      String string_1 =null;
//virtualUsage D2生成修订变更字段语义故事内容  41463
      GenerateTimeCycleEtcSemanticInstanceComRespDto generateTimeCycleEtcSemanticInstanceComRespDto = null;
    GenerateTimeCycleEtcSemanticInstanceComReqDto generateTimeCycleEtcSemanticInstanceComReqDto=new GenerateTimeCycleEtcSemanticInstanceComReqDto();
  if(reqDto!=null){
      generateTimeCycleEtcSemanticInstanceComReqDto.setTemplateSemanticEngineCode(reqDto.getTemplateSemanticEngineCode());//SimpleFieldAssign//sourceId:932535_1_41463
generateTimeCycleEtcSemanticInstanceComReqDto.setReviseSubjectContent(reqDto.getReviseSubjectContent());//SimpleFieldAssign//sourceId:932536_1_41463
generateTimeCycleEtcSemanticInstanceComReqDto.setReviseBehaviorName(reqDto.getObjectPropertyName());//SimpleFieldAssign//sourceId:932537_1_41463
generateTimeCycleEtcSemanticInstanceComReqDto.setColumnContent(reqDto.getColumnContent());//SimpleFieldAssign//sourceId:932542_1_41463
    }
  
    /*D2生成修订变更字段语义故事内容[5030]   */
    Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto.getTemplateSemanticEngineCode(),"D3新增修订单字段变更记录(公共)-D2生成修订变更字段语义故事内容-模板引擎标识不能为空",false);
Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto.getReviseSubjectContent(),"D3新增修订单字段变更记录(公共)-D2生成修订变更字段语义故事内容-修订主体内容不能为空",false);
Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto.getReviseBehaviorName(),"D3新增修订单字段变更记录(公共)-D2生成修订变更字段语义故事内容-修订行为名称不能为空",false);
Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto.getColumnContent(),"D3新增修订单字段变更记录(公共)-D2生成修订变更字段语义故事内容-变更后字段中文内容不能为空",false);
      generateTimeCycleEtcSemanticInstanceComRespDto = fwCompTemplateEngineClient.generateTimeCycleEtcSemanticInstanceCom(generateTimeCycleEtcSemanticInstanceComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      
if((reqDto!= null&&  reqDto.getBatchCurrentStatus() !=null && reqDto.getBatchCurrentStatus().equals("2")&&reqDto!= null&& reqDto.getBatchCode() != null )) {
        //if((D3新增修订单字段变更记录(公共).批次现状 等于 2 and D3新增修订单字段变更记录(公共).批次标识 值不等于空 ))  41460
        
String string = null;
    if(generateTimeCycleEtcSemanticInstanceComRespDto !=null){
          OmsBasicInstanceChangeColumn omsBasicInstanceChangeColumn=new OmsBasicInstanceChangeColumn();
  omsBasicInstanceChangeColumn.setIsInproperties("TRUE");//sourceId:932497_1_41462
omsBasicInstanceChangeColumn.setSubjectUpdateStatus("REVISION");//sourceId:932496_1_41462
omsBasicInstanceChangeColumn.setBatchStartTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:932492_1_41462
omsBasicInstanceChangeColumn.setIsEditing("FALSE");//sourceId:932494_1_41462
omsBasicInstanceChangeColumn.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:932495_1_41462
if(reqDto!=null){
      omsBasicInstanceChangeColumn.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:932479_1_41462
omsBasicInstanceChangeColumn.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:932480_1_41462
omsBasicInstanceChangeColumn.setEntityName(reqDto.getEntityName());//SimpleFieldAssign//sourceId:932488_1_41462
omsBasicInstanceChangeColumn.setObjectPropertyCode(reqDto.getObjectPropertyCode());//SimpleFieldAssign//sourceId:932481_1_41462
omsBasicInstanceChangeColumn.setMetaDataColumnContent(reqDto.getMetaDataColumnContent());//SimpleFieldAssign//sourceId:932483_1_41462
omsBasicInstanceChangeColumn.setColumnContent(reqDto.getColumnContent());//SimpleFieldAssign//sourceId:932485_1_41462
omsBasicInstanceChangeColumn.setOriColumnContent(reqDto.getOriColumnContent());//SimpleFieldAssign//sourceId:932484_1_41462
omsBasicInstanceChangeColumn.setSubjectTypeCode(reqDto.getSubjectTypeCode());//SimpleFieldAssign//sourceId:932486_1_41462
omsBasicInstanceChangeColumn.setSubjectChangeType(reqDto.getSubjectChangeType());//SimpleFieldAssign//sourceId:932487_1_41462
omsBasicInstanceChangeColumn.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:932490_1_41462
omsBasicInstanceChangeColumn.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:932489_1_41462
omsBasicInstanceChangeColumn.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:932491_1_41462
    }
if(generateTimeCycleEtcSemanticInstanceComRespDto!=null){
      omsBasicInstanceChangeColumn.setObjectPropertyName(generateTimeCycleEtcSemanticInstanceComRespDto.getObjectName());//SimpleFieldAssign//sourceId:932482_1_41462
    }
  
    /*3-13-02新增业务应用变更字段[3892]   */
    Assert.isNull(omsBasicInstanceChangeColumn.getTableTypeCode(),"D3新增修订单字段变更记录(公共)-3-13-02新增业务应用变更字段-内容表类型编码不能为空",false);
Assert.isNull(omsBasicInstanceChangeColumn.getEntityId(),"D3新增修订单字段变更记录(公共)-3-13-02新增业务应用变更字段-内容表主键ID不能为空",false);
Assert.isNull(omsBasicInstanceChangeColumn.getEntityName(),"D3新增修订单字段变更记录(公共)-3-13-02新增业务应用变更字段-内容表主键字段英文名不能为空",false);
Assert.isNull(omsBasicInstanceChangeColumn.getObjectPropertyCode(),"D3新增修订单字段变更记录(公共)-3-13-02新增业务应用变更字段-变更字段英文名不能为空",false);
Assert.isNull(omsBasicInstanceChangeColumn.getObjectPropertyName(),"D3新增修订单字段变更记录(公共)-3-13-02新增业务应用变更字段-变更字段行为日志名称不能为空",false);
Assert.isNull(omsBasicInstanceChangeColumn.getMetaDataColumnContent(),"D3新增修订单字段变更记录(公共)-3-13-02新增业务应用变更字段-变更字段原始值不能为空",false);
Assert.isNull(omsBasicInstanceChangeColumn.getColumnContent(),"D3新增修订单字段变更记录(公共)-3-13-02新增业务应用变更字段-变更后字段中文内容不能为空",false);
Assert.isNull(omsBasicInstanceChangeColumn.getOriColumnContent(),"D3新增修订单字段变更记录(公共)-3-13-02新增业务应用变更字段-变更前字段中文内容不能为空",false);
Assert.isNull(omsBasicInstanceChangeColumn.getIsInproperties(),"D3新增修订单字段变更记录(公共)-3-13-02新增业务应用变更字段-是否内部属性不能为空",false);
Assert.isNull(omsBasicInstanceChangeColumn.getSubjectTypeCode(),"D3新增修订单字段变更记录(公共)-3-13-02新增业务应用变更字段-主体类型编码不能为空",false);
Assert.isNull(omsBasicInstanceChangeColumn.getSubjectChangeType(),"D3新增修订单字段变更记录(公共)-3-13-02新增业务应用变更字段-主体变更日志类型不能为空",false);
Assert.isNull(omsBasicInstanceChangeColumn.getObjectTypeCode(),"D3新增修订单字段变更记录(公共)-3-13-02新增业务应用变更字段-归属对象类型编码不能为空",false);
Assert.isNull(omsBasicInstanceChangeColumn.getObjectId(),"D3新增修订单字段变更记录(公共)-3-13-02新增业务应用变更字段-归属对象内容ID不能为空",false);
Assert.isNull(omsBasicInstanceChangeColumn.getSubjectUpdateStatus(),"D3新增修订单字段变更记录(公共)-3-13-02新增业务应用变更字段-主体批次下更新状态不能为空",false);
Assert.isNull(omsBasicInstanceChangeColumn.getBatchCode(),"D3新增修订单字段变更记录(公共)-3-13-02新增业务应用变更字段-批次标识不能为空",false);
Assert.isNull(omsBasicInstanceChangeColumn.getBatchStartTime(),"D3新增修订单字段变更记录(公共)-3-13-02新增业务应用变更字段-批次开始时间不能为空",false);
Assert.isNull(omsBasicInstanceChangeColumn.getIsEditing(),"D3新增修订单字段变更记录(公共)-3-13-02新增业务应用变更字段-是否未来不能为空",false);
Assert.isNull(omsBasicInstanceChangeColumn.getSubjectLifeCycle(),"D3新增修订单字段变更记录(公共)-3-13-02新增业务应用变更字段-主体生命周期不能为空",false);
      string = mOmsBasicInstanceChangeColumnService.addBizAppChangeCol(omsBasicInstanceChangeColumn)/*vcase invoke 本地 method 方法调用;*/;
      
      
      string_1 = string;
           }
      }
AddReviseContSingleChangeColComRespDto retData = new AddReviseContSingleChangeColComRespDto();
  if(string_1!=null){
      retData.setChangeColumnId(string_1);//SimpleFieldAssign//sourceId:932570_1
    }
  

  
  
return retData;
  }
/**
   * D3新增修订重新计算数据调度(公共)[6649]
   * gen by moon at 6/29/2023, 2:23:11 AM
   */
  @Trace(operationName = "D3新增修订重新计算数据调度(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public AddReviseRecountDataDispatchComRespDto addReviseRecountDataDispatchCom(AddReviseRecountDataDispatchComReqDto reqDto){


      //virtualUsage D2-3查修订是否重新计算标准数据配置答案  41578
      QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto = null;
    com.wicket.okrcomponent.integration.dto.QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto=new QueryConfItemMatchAnswerDetailComReqDto();
  queryConfItemMatchAnswerDetailComReqDto.setConfItemCode("REVISE_IS_RECALCULATE_DATA");//CUSTOM_CONVENTION//sourceId:936762_1_41578
queryConfItemMatchAnswerDetailComReqDto.setIsPlatData("FALSE");//sourceId:936771_1_41578
if(reqDto!=null){
      queryConfItemMatchAnswerDetailComReqDto.setResultAspObjId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:936764_1_41578
    }

    /*D2-3查修订是否重新计算标准数据配置答案[2486]   */
    Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getResultAspObjId(),"D3新增修订重新计算数据调度(公共)-D2-3查修订是否重新计算标准数据配置答案-开通对象ID不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getConfItemCode(),"D3新增修订重新计算数据调度(公共)-D2-3查修订是否重新计算标准数据配置答案-配置项标识不能为空",false);
Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getIsPlatData(),"D3新增修订重新计算数据调度(公共)-D2-3查修订是否重新计算标准数据配置答案-是否标准答案不能为空",false);
      queryConfItemMatchAnswerDetailComRespDto = fwCompConfSchemeClient.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



if((queryConfItemMatchAnswerDetailComRespDto!= null&&  queryConfItemMatchAnswerDetailComRespDto.getEndValue() !=null && queryConfItemMatchAnswerDetailComRespDto.getEndValue().equals("TRUE"))) {
        //if(D2-3查修订是否重新标准数据配置答案.答案值 等于 是)  41579

List<OmsTargetTimingTaskDispatch> listOmsTargetTimingTaskDispatch =new ArrayList<>();
    QueryTimerTaskPlanListReq queryTimerTaskPlanListReq=new QueryTimerTaskPlanListReq();
  queryTimerTaskPlanListReq.setTaskDispatchTypeCode("CONTENT_SUBTASK");//sourceId:1072115_1_46688
queryTimerTaskPlanListReq.setDispatchActionTypeCode("DISPATCH_REVISE_RECALCULATE_DATA_TASK");//sourceId:1072116_1_46688
queryTimerTaskPlanListReq.setIsComplete("FALSE");//sourceId:1072119_1_46688
queryTimerTaskPlanListReq.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1072120_1_46688
if(reqDto!=null){
      queryTimerTaskPlanListReq.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:1072117_1_46688
queryTimerTaskPlanListReq.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1072118_1_46688
    }

    /*3-2-09查询定时任务调度列表[3261]   */
    Assert.isNull(queryTimerTaskPlanListReq.getTaskDispatchTypeCode(),"D3新增修订重新计算数据调度(公共)-3-2-09查询定时任务调度列表-任务调度类型编码不能为空",false);
Assert.isNull(queryTimerTaskPlanListReq.getDispatchActionTypeCode(),"D3新增修订重新计算数据调度(公共)-3-2-09查询定时任务调度列表-任务调度的行为类型编码不能为空",false);
Assert.isNull(queryTimerTaskPlanListReq.getIsComplete(),"D3新增修订重新计算数据调度(公共)-3-2-09查询定时任务调度列表-是否执行完成不能为空",false);
Assert.isNull(queryTimerTaskPlanListReq.getSpaceId(),"D3新增修订重新计算数据调度(公共)-3-2-09查询定时任务调度列表-创建于空间ID不能为空",false);
      listOmsTargetTimingTaskDispatch = mOmsTargetTimingTaskDispatchService.queryTimerTaskPlanList(queryTimerTaskPlanListReq)/*vcase invoke 本地 method 方法调用;*/;



if((listOmsTargetTimingTaskDispatch!= null&&  listOmsTargetTimingTaskDispatch !=null && listOmsTargetTimingTaskDispatch.size()==0||listOmsTargetTimingTaskDispatch!= null&&  listOmsTargetTimingTaskDispatch !=null && listOmsTargetTimingTaskDispatch.size()==1)) {
        //if((3-2-09查未完成的全模板重新计算调度列表.定时任务调度列表数据集条数 等于 0 or 3-2-09查未完成的全模板重新计算调度列表.定时任务调度列表数据集条数 等于 1))  46689

ObtainLockSemanticInstanceComRespDto obtainLockSemanticInstanceComRespDto = null;
    ObtainLockSemanticInstanceComReqDto obtainLockSemanticInstanceComReqDto=new ObtainLockSemanticInstanceComReqDto();
  obtainLockSemanticInstanceComReqDto.setTemplateSemanticEngineCode("ADD_TEMP_ALL_CONTENT_RECALC_LOCK_KEY");//CUSTOM_CONVENTION//sourceId:1072107_1_46695
if(reqDto!=null){
      obtainLockSemanticInstanceComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1072109_1_46695
    }

    /*D2获取分布式锁语义实例(公共)[7255]   */
    Assert.isNull(obtainLockSemanticInstanceComReqDto.getTemplateSemanticEngineCode(),"D3新增修订重新计算数据调度(公共)-D2获取分布式锁语义实例(公共)-模板引擎标识不能为空",false);
Assert.isNull(obtainLockSemanticInstanceComReqDto.getEvaluationTemplateId(),"D3新增修订重新计算数据调度(公共)-D2获取分布式锁语义实例(公共)-冗余评价模板ID不能为空",false);
      obtainLockSemanticInstanceComRespDto = fwCompTemplateEngineClient.obtainLockSemanticInstanceCom(obtainLockSemanticInstanceComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



ImplementDistributedLockingComRespDto implementDistributedLockingComRespDto = null;
    if(obtainLockSemanticInstanceComRespDto !=null){
          ImplementDistributedLockingComReqDto implementDistributedLockingComReqDto=new ImplementDistributedLockingComReqDto();
  implementDistributedLockingComReqDto.setDuration(Long.valueOf(86400));//CUSTOM_CONVENTION//sourceId:1072111_1_46696
if(obtainLockSemanticInstanceComRespDto!=null){
      implementDistributedLockingComReqDto.setCommPrimaryKey(obtainLockSemanticInstanceComRespDto.getObjectName());//SimpleFieldAssign//sourceId:1072112_1_46696
    }

    /*D3分布式加锁(公共)[7253]   */
    Assert.isNull(implementDistributedLockingComReqDto.getCommPrimaryKey(),"D3新增修订重新计算数据调度(公共)-D3分布式加锁(公共)-通用主键ID不能为空",false);
Assert.isNull(implementDistributedLockingComReqDto.getDuration(),"D3新增修订重新计算数据调度(公共)-D3分布式加锁(公共)-锁定时长不能为空",false);
      implementDistributedLockingComRespDto = interfaceModeService.implementDistributedLockingCom(implementDistributedLockingComReqDto)/*vcase invoke isSameApp*/;



           }
if((implementDistributedLockingComRespDto!= null&&  implementDistributedLockingComRespDto.getTureOrFalse() !=null && implementDistributedLockingComRespDto.getTureOrFalse().equals("TRUE"))) {
        //if(D3分布式加锁(公共).加锁是否成功 等于 是)  46697

AddTimerTaskPlanComRespDto addTimerTaskPlanComRespDto = null;
    AddTimerTaskPlanComReqDto addTimerTaskPlanComReqDto=new AddTimerTaskPlanComReqDto();
  addTimerTaskPlanComReqDto.setIsCompensateTask("FALSE");//sourceId:936689_1_46703
addTimerTaskPlanComReqDto.setTaskDispatchTypeCode("CONTENT_SUBTASK");//sourceId:936691_1_46703
addTimerTaskPlanComReqDto.setDispatchActionTypeCode("DISPATCH_REVISE_RECALCULATE_DATA_TASK");//sourceId:936690_1_46703
addTimerTaskPlanComReqDto.setThemeContentTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:936709_1_46703
addTimerTaskPlanComReqDto.setIsAppointSimpleMq("FALSE");//sourceId:936706_1_46703
addTimerTaskPlanComReqDto.setIsComplete("FALSE");//sourceId:936704_1_46703
addTimerTaskPlanComReqDto.setIsRealTimeaSync("FALSE");//sourceId:936715_1_46703
addTimerTaskPlanComReqDto.setOperationInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:936701_1_46703
addTimerTaskPlanComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:936702_1_46703
addTimerTaskPlanComReqDto.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:936703_1_46703
if(reqDto!=null){
      addTimerTaskPlanComReqDto.setObjectName(reqDto.getCyclelAlias());//SimpleFieldAssign//sourceId:936714_1_46703
addTimerTaskPlanComReqDto.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:936692_1_46703
addTimerTaskPlanComReqDto.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:936693_1_46703
addTimerTaskPlanComReqDto.setStandbyField1(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:936784_1_46703
addTimerTaskPlanComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:936710_1_46703
    }

    /*D3新增定时任务调度(公共)[4995]   */
    Assert.isNull(addTimerTaskPlanComReqDto.getObjectName(),"D3新增修订重新计算数据调度(公共)-D3新增定时任务调度(公共)-对象名称不能为空",false);
Assert.isNull(addTimerTaskPlanComReqDto.getIsCompensateTask(),"D3新增修订重新计算数据调度(公共)-D3新增定时任务调度(公共)-是否补偿任务不能为空",false);
Assert.isNull(addTimerTaskPlanComReqDto.getTaskDispatchTypeCode(),"D3新增修订重新计算数据调度(公共)-D3新增定时任务调度(公共)-任务调度类型编码不能为空",false);
Assert.isNull(addTimerTaskPlanComReqDto.getDispatchActionTypeCode(),"D3新增修订重新计算数据调度(公共)-D3新增定时任务调度(公共)-任务调度的行为类型编码不能为空",false);
Assert.isNull(addTimerTaskPlanComReqDto.getObjectTypeCode(),"D3新增修订重新计算数据调度(公共)-D3新增定时任务调度(公共)-归属对象类型编码不能为空",false);
Assert.isNull(addTimerTaskPlanComReqDto.getObjectId(),"D3新增修订重新计算数据调度(公共)-D3新增定时任务调度(公共)-归属对象内容ID不能为空",false);
Assert.isNull(addTimerTaskPlanComReqDto.getThemeContentTypeCode(),"D3新增修订重新计算数据调度(公共)-D3新增定时任务调度(公共)-主题内容类型编码不能为空",false);
Assert.isNull(addTimerTaskPlanComReqDto.getThemeContentId(),"D3新增修订重新计算数据调度(公共)-D3新增定时任务调度(公共)-主题内容ID不能为空",false);
Assert.isNull(addTimerTaskPlanComReqDto.getIsAppointSimpleMq(),"D3新增修订重新计算数据调度(公共)-D3新增定时任务调度(公共)-是否固化消息队列不能为空",false);
Assert.isNull(addTimerTaskPlanComReqDto.getIsComplete(),"D3新增修订重新计算数据调度(公共)-D3新增定时任务调度(公共)-是否执行完成不能为空",false);
Assert.isNull(addTimerTaskPlanComReqDto.getIsRealTimeaSync(),"D3新增修订重新计算数据调度(公共)-D3新增定时任务调度(公共)-是否实时异步调度不能为空",false);
Assert.isNull(addTimerTaskPlanComReqDto.getOperationInductionId(),"D3新增修订重新计算数据调度(公共)-D3新增定时任务调度(公共)-操作人就职记录ID不能为空",false);
Assert.isNull(addTimerTaskPlanComReqDto.getSpaceId(),"D3新增修订重新计算数据调度(公共)-D3新增定时任务调度(公共)-创建于空间ID不能为空",false);
Assert.isNull(addTimerTaskPlanComReqDto.getAppId(),"D3新增修订重新计算数据调度(公共)-D3新增定时任务调度(公共)-创建于联盟应用ID不能为空",false);
      addTimerTaskPlanComRespDto = taskGenService.addTimerTaskPlanCom(addTimerTaskPlanComReqDto)/*vcase invoke isSameApp*/;



ImplementDistributedUnlockingComRespDto implementDistributedUnlockingComRespDto = null;
    if(obtainLockSemanticInstanceComRespDto !=null){
          ImplementDistributedUnlockingComReqDto implementDistributedUnlockingComReqDto=new ImplementDistributedUnlockingComReqDto();
  if(obtainLockSemanticInstanceComRespDto!=null){
      implementDistributedUnlockingComReqDto.setCommPrimaryKey(obtainLockSemanticInstanceComRespDto.getObjectName());//SimpleFieldAssign//sourceId:1072379_1_46704
    }

    /*D3分布式解锁(公共)[7250]   */
    Assert.isNull(implementDistributedUnlockingComReqDto.getCommPrimaryKey(),"D3新增修订重新计算数据调度(公共)-D3分布式解锁(公共)-通用主键ID不能为空",false);
      implementDistributedUnlockingComRespDto = interfaceModeService.implementDistributedUnlockingCom(implementDistributedUnlockingComReqDto)/*vcase invoke isSameApp*/;



           }
      }
else if((implementDistributedLockingComRespDto!= null&&  implementDistributedLockingComRespDto.getTureOrFalse() !=null && implementDistributedLockingComRespDto.getTureOrFalse().equals("FALSE"))){
       //elseif(D3分布式加锁(公共).加锁是否成功 等于 否)  46698

//processBranchName:正常结束 ,processBranchId:46699

    }
      }
else if((listOmsTargetTimingTaskDispatch!= null&&  listOmsTargetTimingTaskDispatch !=null && listOmsTargetTimingTaskDispatch.size()>=2)){
       //elseif(3-2-09查未完成的全模板重新计算调度列表.定时任务调度列表数据集条数 大于等于 2)  46691

//processBranchName:正常结束 ,processBranchId:46694

      }
      }
AddReviseRecountDataDispatchComRespDto retData = new AddReviseRecountDataDispatchComRespDto();





return retData;
  }
/**
   * D3执行分析修订目标值条件(公共)[6622]
   * gen by moon at 5/17/2023, 4:03:43 AM
   */
  @Trace(operationName = "D3执行分析修订目标值条件(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementAnalyseReviseTargetValueTermComRespDto implementAnalyseReviseTargetValueTermCom(ImplementAnalyseReviseTargetValueTermComReqDto reqDto){


      List<OmsEvaObjTargetCycleOset> listOmsEvaObjTargetCycleOset_1 =new ArrayList<>();
      if((reqDto!= null&& reqDto.getBatchCurrentStatus() != null &&reqDto!= null&&  reqDto.getBatchCurrentStatus() !=null && reqDto.getBatchCurrentStatus().equals("2")&&reqDto!= null&&  reqDto.getEvaObjTargetCycleOsetList() !=null && reqDto.getEvaObjTargetCycleOsetList().size()>0)) {
        //if((D3-批量查询修订目标周期起始目标值列表ByIds(公共).批次现状 值不等于空  and D3-批量查询修订目标周期起始目标值列表ByIds(公共).批次现状 等于 2 and D3-批量查询修订目标周期起始目标值列表ByIds(公共).被评对象目标周期目标设置列表数据集条数 大于 0))  41806

List<OmsEvaObjTargetCycleOset> listOmsEvaObjTargetCycleOset =new ArrayList<>();
    BatchQueryEvaObjTargetCycleOsetListByIdsReq batchQueryEvaObjTargetCycleOsetListByIdsReq=new BatchQueryEvaObjTargetCycleOsetListByIdsReq();
  batchQueryEvaObjTargetCycleOsetListByIdsReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:947968_1_41809
if(reqDto!=null){
      batchQueryEvaObjTargetCycleOsetListByIdsReq.setEvaObjTargetCycleOsetList(reqDto.getEvaObjTargetCycleOsetList());//list-field-assign//sourceId:947966_1_41809
batchQueryEvaObjTargetCycleOsetListByIdsReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:947967_1_41809
    }

    /*3-3-09-01批量查目标设置列表By设置Id[6780]   */
    Assert.isNull(batchQueryEvaObjTargetCycleOsetListByIdsReq.getEvaluationTemplateId(),"D3执行分析修订目标值条件(公共)-3-3-09-01批量查目标设置列表By设置Id-冗余评价模板ID不能为空",false);
Assert.isNull(batchQueryEvaObjTargetCycleOsetListByIdsReq.getSubjectLifeCycle(),"D3执行分析修订目标值条件(公共)-3-3-09-01批量查目标设置列表By设置Id-主体生命周期不能为空",false);
      listOmsEvaObjTargetCycleOset = mOmsEvaObjTargetCycleOsetService.batchQueryEvaObjTargetCycleOsetListByIds(batchQueryEvaObjTargetCycleOsetListByIdsReq)/*vcase invoke 本地 method 方法调用;*/;


      listOmsEvaObjTargetCycleOset_1 = listOmsEvaObjTargetCycleOset;
      }
ImplementAnalyseReviseTargetValueTermComRespDto retData = new ImplementAnalyseReviseTargetValueTermComRespDto();
  retData.setTargetCycleTargeValuetList(listOmsEvaObjTargetCycleOset_1.stream().map(item -> BeanUtil.toBean(item, TargetCycleTargeValuetDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:950154_1




return retData;
  }
/**
   * D3执行分析修订权重条件(公共)[6777]
   * gen by moon at 5/16/2023, 6:52:35 PM
   */
  @Trace(operationName = "D3执行分析修订权重条件(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementAnalyseReviseWeightTermComRespDto implementAnalyseReviseWeightTermCom(ImplementAnalyseReviseWeightTermComReqDto reqDto){


      List<OmsEvaObjTargetCycleWeightSet> listOmsEvaObjTargetCycleWeightSet_1 =new ArrayList<>();
if((reqDto!= null&&  reqDto.getBatchCurrentStatus() !=null && reqDto.getBatchCurrentStatus().equals("2")&&reqDto!= null&&  reqDto.getEvaObjTargetCycleWeightList() !=null && reqDto.getEvaObjTargetCycleWeightList().size()>0)) {
        //if((D3执行分析修订权重条件(公共).批次现状 等于 2 and D3执行分析修订权重条件(公共).被评对象目标周期权重列表数据集条数 大于 0))  41804

List<OmsEvaObjTargetCycleWeightSet> listOmsEvaObjTargetCycleWeightSet =new ArrayList<>();
    BatchQueryEvaObjTargetCycleWeightReq batchQueryEvaObjTargetCycleWeightReq=new BatchQueryEvaObjTargetCycleWeightReq();
  batchQueryEvaObjTargetCycleWeightReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:947446_1_41805
if(reqDto!=null){
      batchQueryEvaObjTargetCycleWeightReq.setEvaObjTargetCycleWeightList(reqDto.getEvaObjTargetCycleWeightList());//list-field-assign//sourceId:947445_1_41805
batchQueryEvaObjTargetCycleWeightReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:947450_1_41805
    }

    /*3-3-09-02批量查询被评对象目标周期权重[2745]   */
    Assert.isNull(batchQueryEvaObjTargetCycleWeightReq.getEvaluationTemplateId(),"D3执行分析修订权重条件(公共)-3-3-09-02批量查询被评对象目标周期权重-冗余评价模板ID不能为空",false);
Assert.isNull(batchQueryEvaObjTargetCycleWeightReq.getSubjectLifeCycle(),"D3执行分析修订权重条件(公共)-3-3-09-02批量查询被评对象目标周期权重-主体生命周期不能为空",false);
      listOmsEvaObjTargetCycleWeightSet = mOmsEvaObjTargetCycleWeightSetService.batchQueryEvaObjTargetCycleWeight(batchQueryEvaObjTargetCycleWeightReq)/*vcase invoke 本地 method 方法调用;*/;


      listOmsEvaObjTargetCycleWeightSet_1 = listOmsEvaObjTargetCycleWeightSet;
      }
ImplementAnalyseReviseWeightTermComRespDto retData = new ImplementAnalyseReviseWeightTermComRespDto();
  retData.setEvaObjTargetCycleWeightList(listOmsEvaObjTargetCycleWeightSet_1.stream().map(item -> BeanUtil.toBean(item, EvaObjTargetCycleWeightDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:947491_1




return retData;
  }
/**
   * D3执行循环增目标周期名称修订变更字段(公共)[6802]
   * gen by moon at 5/17/2023, 4:03:57 AM
   */
  @Trace(operationName = "D3执行循环增目标周期名称修订变更字段(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementLoopAddTargetCycleNameReviseChangeColComRespDto implementLoopAddTargetCycleNameReviseChangeColCom(ImplementLoopAddTargetCycleNameReviseChangeColComReqDto reqDto){


      //virtualUsage M3-目标周期发牌【循环开始】  41907
      //ModelCode: circulationCollections
        for (EvaObjTargetCycleDto circulationCollectionsRes: reqDto.getEvaObjTargetCycleList()){

//virtualUsage 3-3-09查目标周期简称（用于判断目标周期名称是否修改）  41909
      OmsEvaluationObjectTargetCycle omsEvaluationObjectTargetCycle = null;
    QueryEvaObjTargetCycleDetailReq queryEvaObjTargetCycleDetailReq=new QueryEvaObjTargetCycleDetailReq();
  queryEvaObjTargetCycleDetailReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:951257_1_41909
if(circulationCollectionsRes!=null){
      queryEvaObjTargetCycleDetailReq.setEvaObjTargetCycleId(circulationCollectionsRes.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:951255_1_41909
queryEvaObjTargetCycleDetailReq.setTargetCycleName(circulationCollectionsRes.getTargetCycleName());//SimpleFieldAssign//sourceId:951259_1_41909
    }
if(reqDto!=null){
      queryEvaObjTargetCycleDetailReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:951256_1_41909
    }

    /*3-3-09查目标周期简称（用于判断目标周期名称是否修改）[2313]   */
    Assert.isNull(queryEvaObjTargetCycleDetailReq.getEvaObjTargetCycleId(),"D3执行循环增目标周期名称修订变更字段(公共)-3-3-09查目标周期简称（用于判断目标周期名称是否修改）-被评对象目标周期ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq.getEvaluationTemplateId(),"D3执行循环增目标周期名称修订变更字段(公共)-3-3-09查目标周期简称（用于判断目标周期名称是否修改）-冗余评价模板ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq.getSubjectLifeCycle(),"D3执行循环增目标周期名称修订变更字段(公共)-3-3-09查目标周期简称（用于判断目标周期名称是否修改）-主体生命周期不能为空",false);
      omsEvaluationObjectTargetCycle = mOmsEvaluationObjectTargetCycleService.queryEvaObjTargetCycleDetail(queryEvaObjTargetCycleDetailReq)/*vcase invoke 本地 method 方法调用;*/;



//virtualUsage 3-3-09查目标周期名称（用于记录变更字段）  41922
      OmsEvaluationObjectTargetCycle omsEvaluationObjectTargetCycle_2 = null;
    QueryEvaObjTargetCycleDetailReq queryEvaObjTargetCycleDetailReq_1=new QueryEvaObjTargetCycleDetailReq();
  queryEvaObjTargetCycleDetailReq_1.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:951628_1_41922
if(circulationCollectionsRes!=null){
      queryEvaObjTargetCycleDetailReq_1.setEvaObjTargetCycleId(circulationCollectionsRes.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:951626_1_41922
    }
if(reqDto!=null){
      queryEvaObjTargetCycleDetailReq_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:951627_1_41922
    }

    /*3-3-09查目标周期名称（用于记录变更字段）[2313]   */
    Assert.isNull(queryEvaObjTargetCycleDetailReq_1.getEvaObjTargetCycleId(),"D3执行循环增目标周期名称修订变更字段(公共)-3-3-09查目标周期名称（用于记录变更字段）-被评对象目标周期ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_1.getEvaluationTemplateId(),"D3执行循环增目标周期名称修订变更字段(公共)-3-3-09查目标周期名称（用于记录变更字段）-冗余评价模板ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_1.getSubjectLifeCycle(),"D3执行循环增目标周期名称修订变更字段(公共)-3-3-09查目标周期名称（用于记录变更字段）-主体生命周期不能为空",false);
      omsEvaluationObjectTargetCycle_2 = mOmsEvaluationObjectTargetCycleService.queryEvaObjTargetCycleDetail(queryEvaObjTargetCycleDetailReq_1)/*vcase invoke 本地 method 方法调用;*/;



if((omsEvaluationObjectTargetCycle == null )) {
        //if(3-3-09查目标周期名称（用于判断目标周期名称是否修改）.出参 值等于空 )  41910

AddReviseContSingleChangeColComRespDto addReviseContSingleChangeColComRespDto = null;
    if(omsEvaluationObjectTargetCycle_2 !=null){
          AddReviseContSingleChangeColComReqDto addReviseContSingleChangeColComReqDto=new AddReviseContSingleChangeColComReqDto();
  addReviseContSingleChangeColComReqDto.setTemplateSemanticEngineCode("MODIFY_TARGET_CYCLE_NAME_LOG_NAME");//CUSTOM_CONVENTION//sourceId:951260_1_41912
addReviseContSingleChangeColComReqDto.setTableTypeCode("OMS_EVALUATION_OBJECT_TARGET_CYCLE");//sourceId:951263_1_41912
addReviseContSingleChangeColComReqDto.setEntityName("evaObjTargetCycleId");//CUSTOM_CONVENTION//sourceId:951264_1_41912
addReviseContSingleChangeColComReqDto.setObjectPropertyCode("targetCycleName");//CUSTOM_CONVENTION//sourceId:951266_1_41912
addReviseContSingleChangeColComReqDto.setObjectPropertyName("修订目标周期名称");//CUSTOM_CONVENTION//sourceId:951267_1_41912
addReviseContSingleChangeColComReqDto.setSubjectTypeCode("EVALUATION_TEMPLATE_LOG_NAV");//sourceId:951271_1_41912
addReviseContSingleChangeColComReqDto.setSubjectChangeType("REVISE_TARGET_CYCLE_NAME");//CUSTOM_CONVENTION//sourceId:951272_1_41912
if(circulationCollectionsRes!=null){
      addReviseContSingleChangeColComReqDto.setEntityId(circulationCollectionsRes.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:951265_1_41912
addReviseContSingleChangeColComReqDto.setOriColumnContent(circulationCollectionsRes.getTargetCycleName());//SimpleFieldAssign//sourceId:951270_1_41912
    }
if(omsEvaluationObjectTargetCycle_2!=null){
      addReviseContSingleChangeColComReqDto.setMetaDataColumnContent(omsEvaluationObjectTargetCycle_2.getTargetCycleName());//SimpleFieldAssign//sourceId:951268_1_41912
addReviseContSingleChangeColComReqDto.setColumnContent(omsEvaluationObjectTargetCycle_2.getTargetCycleName());//SimpleFieldAssign//sourceId:951269_1_41912
addReviseContSingleChangeColComReqDto.setReviseSubjectContent(omsEvaluationObjectTargetCycle_2.getCyclelAlias());//SimpleFieldAssign//sourceId:951275_1_41912
    }
if(reqDto!=null){
      addReviseContSingleChangeColComReqDto.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:951273_1_41912
addReviseContSingleChangeColComReqDto.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:951274_1_41912
addReviseContSingleChangeColComReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:951261_1_41912
addReviseContSingleChangeColComReqDto.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:951262_1_41912
    }

    /*D3新增修订单字段变更记录(目标周期名称)[6625]   */
    Assert.isNull(addReviseContSingleChangeColComReqDto.getTemplateSemanticEngineCode(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期名称)-模板引擎标识不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getTableTypeCode(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期名称)-内容表类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getEntityId(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期名称)-内容表主键ID不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getEntityName(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期名称)-内容表主键字段英文名不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getObjectPropertyCode(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期名称)-变更字段英文名不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getObjectPropertyName(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期名称)-变更字段行为日志名称不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getMetaDataColumnContent(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期名称)-变更字段原始值不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getColumnContent(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期名称)-变更后字段中文内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getOriColumnContent(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期名称)-变更前字段中文内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getSubjectTypeCode(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期名称)-主体类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getSubjectChangeType(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期名称)-主体变更日志类型不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getObjectTypeCode(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期名称)-归属对象类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getObjectId(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期名称)-归属对象内容ID不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getReviseSubjectContent(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期名称)-修订主体内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getBatchCode(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期名称)-批次标识不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getBatchCurrentStatus(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期名称)-批次现状不能为空",false);
      addReviseContSingleChangeColComRespDto = addReviseContSingleChangeColCom(addReviseContSingleChangeColComReqDto)/*vcase invoke 同服务,同domain*/;



           }
      }
//virtualUsage 3-3-09查目标周期简称（用于判断目标周期名称是否修改）  41914
      OmsEvaluationObjectTargetCycle omsEvaluationObjectTargetCycle_4 = null;
    QueryEvaObjTargetCycleDetailReq queryEvaObjTargetCycleDetailReq_2=new QueryEvaObjTargetCycleDetailReq();
  queryEvaObjTargetCycleDetailReq_2.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:951257_1_41914
if(circulationCollectionsRes!=null){
      queryEvaObjTargetCycleDetailReq_2.setEvaObjTargetCycleId(circulationCollectionsRes.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:951255_1_41914
queryEvaObjTargetCycleDetailReq_2.setCyclelAlias(circulationCollectionsRes.getCyclelAlias());//SimpleFieldAssign//sourceId:951258_1_41914
    }
if(reqDto!=null){
      queryEvaObjTargetCycleDetailReq_2.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:951256_1_41914
    }

    /*3-3-09查目标周期简称（用于判断目标周期名称是否修改）[2313]   */
    Assert.isNull(queryEvaObjTargetCycleDetailReq_2.getEvaObjTargetCycleId(),"D3执行循环增目标周期名称修订变更字段(公共)-3-3-09查目标周期简称（用于判断目标周期名称是否修改）-被评对象目标周期ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_2.getEvaluationTemplateId(),"D3执行循环增目标周期名称修订变更字段(公共)-3-3-09查目标周期简称（用于判断目标周期名称是否修改）-冗余评价模板ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_2.getSubjectLifeCycle(),"D3执行循环增目标周期名称修订变更字段(公共)-3-3-09查目标周期简称（用于判断目标周期名称是否修改）-主体生命周期不能为空",false);
      omsEvaluationObjectTargetCycle_4 = mOmsEvaluationObjectTargetCycleService.queryEvaObjTargetCycleDetail(queryEvaObjTargetCycleDetailReq_2)/*vcase invoke 本地 method 方法调用;*/;



if((omsEvaluationObjectTargetCycle_4 == null )) {
        //if(3-3-09查目标周期简称（用于判断目标周期名称是否修改）.出参 值等于空 )  41915

AddReviseContSingleChangeColComRespDto addReviseContSingleChangeColComRespDto_2 = null;
    if(omsEvaluationObjectTargetCycle_2 !=null){
          AddReviseContSingleChangeColComReqDto addReviseContSingleChangeColComReqDto_1=new AddReviseContSingleChangeColComReqDto();
  addReviseContSingleChangeColComReqDto_1.setTemplateSemanticEngineCode("MODIFY_TARGET_CYCLE_NAME_LOG_NAME");//CUSTOM_CONVENTION//sourceId:951277_1_41916
addReviseContSingleChangeColComReqDto_1.setTableTypeCode("OMS_EVALUATION_OBJECT_TARGET_CYCLE");//sourceId:951280_1_41916
addReviseContSingleChangeColComReqDto_1.setEntityName("evaObjTargetCycleId");//CUSTOM_CONVENTION//sourceId:951281_1_41916
addReviseContSingleChangeColComReqDto_1.setObjectPropertyCode("cyclelAlias");//CUSTOM_CONVENTION//sourceId:951283_1_41916
addReviseContSingleChangeColComReqDto_1.setObjectPropertyName("修订目标周期名称");//CUSTOM_CONVENTION//sourceId:951284_1_41916
addReviseContSingleChangeColComReqDto_1.setSubjectTypeCode("EVALUATION_TEMPLATE_LOG_NAV");//sourceId:951288_1_41916
addReviseContSingleChangeColComReqDto_1.setSubjectChangeType("REVISE_TARGET_CYCLE_NAME");//CUSTOM_CONVENTION//sourceId:951289_1_41916
if(circulationCollectionsRes!=null){
      addReviseContSingleChangeColComReqDto_1.setEntityId(circulationCollectionsRes.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:951282_1_41916
addReviseContSingleChangeColComReqDto_1.setOriColumnContent(circulationCollectionsRes.getCyclelAlias());//SimpleFieldAssign//sourceId:951287_1_41916
    }
if(omsEvaluationObjectTargetCycle_2!=null){
      addReviseContSingleChangeColComReqDto_1.setMetaDataColumnContent(omsEvaluationObjectTargetCycle_2.getCyclelAlias());//SimpleFieldAssign//sourceId:951285_1_41916
addReviseContSingleChangeColComReqDto_1.setColumnContent(omsEvaluationObjectTargetCycle_2.getCyclelAlias());//SimpleFieldAssign//sourceId:951286_1_41916
addReviseContSingleChangeColComReqDto_1.setReviseSubjectContent(omsEvaluationObjectTargetCycle_2.getCyclelAlias());//SimpleFieldAssign//sourceId:951292_1_41916
    }
if(reqDto!=null){
      addReviseContSingleChangeColComReqDto_1.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:951290_1_41916
addReviseContSingleChangeColComReqDto_1.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:951291_1_41916
addReviseContSingleChangeColComReqDto_1.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:951278_1_41916
addReviseContSingleChangeColComReqDto_1.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:951279_1_41916
    }

    /*D3新增修订单字段变更记录(目标周期简称)[6625]   */
    Assert.isNull(addReviseContSingleChangeColComReqDto_1.getTemplateSemanticEngineCode(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期简称)-模板引擎标识不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getTableTypeCode(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期简称)-内容表类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getEntityId(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期简称)-内容表主键ID不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getEntityName(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期简称)-内容表主键字段英文名不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getObjectPropertyCode(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期简称)-变更字段英文名不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getObjectPropertyName(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期简称)-变更字段行为日志名称不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getMetaDataColumnContent(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期简称)-变更字段原始值不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getColumnContent(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期简称)-变更后字段中文内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getOriColumnContent(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期简称)-变更前字段中文内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getSubjectTypeCode(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期简称)-主体类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getSubjectChangeType(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期简称)-主体变更日志类型不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getObjectTypeCode(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期简称)-归属对象类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getObjectId(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期简称)-归属对象内容ID不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getReviseSubjectContent(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期简称)-修订主体内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getBatchCode(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期简称)-批次标识不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getBatchCurrentStatus(),"D3执行循环增目标周期名称修订变更字段(公共)-D3新增修订单字段变更记录(目标周期简称)-批次现状不能为空",false);
      addReviseContSingleChangeColComRespDto_2 = addReviseContSingleChangeColCom(addReviseContSingleChangeColComReqDto_1)/*vcase invoke 同服务,同domain*/;



           }
      }
//virtualUsage M3-目标周期发牌【循环结束】  41908
      //ModelCode: circulationEnd
        }

ImplementLoopAddTargetCycleNameReviseChangeColComRespDto retData = new ImplementLoopAddTargetCycleNameReviseChangeColComRespDto();





return retData;
  }
/**
   * D3执行分析修订目标周期名称条件(公共)[6803]
   * gen by moon at 5/17/2023, 12:45:39 PM
   */
  @Trace(operationName = "D3执行分析修订目标周期名称条件(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementAnalyseReviseTargetCycleNameTermComRespDto implementAnalyseReviseTargetCycleNameTermCom(ImplementAnalyseReviseTargetCycleNameTermComReqDto reqDto){


      List<OmsEvaluationObjectTargetCycle> listOmsEvaluationObjectTargetCycle_1 =new ArrayList<>();
if((reqDto!= null&& reqDto.getBatchCurrentStatus() != null &&reqDto!= null&&  reqDto.getBatchCurrentStatus() !=null && reqDto.getBatchCurrentStatus().equals("2")&&reqDto!= null&&  reqDto.getEvaObjTargetCycleList() !=null && reqDto.getEvaObjTargetCycleList().size()>0)) {
        //if((D3执行分析修订目标周期名称条件(公共).批次现状 值不等于空  and D3执行分析修订目标周期名称条件(公共).批次现状 等于 2 and D3执行分析修订目标周期名称条件(公共).被评对象目标周期列表数据集条数 大于 0))  41931

List<OmsEvaluationObjectTargetCycle> listOmsEvaluationObjectTargetCycle =new ArrayList<>();
    BatchQueryEvaObjTargetCycleReq batchQueryEvaObjTargetCycleReq=new BatchQueryEvaObjTargetCycleReq();
  batchQueryEvaObjTargetCycleReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:952318_1_41932
if(reqDto!=null){
      batchQueryEvaObjTargetCycleReq.setEvaObjTargetCycleList(reqDto.getEvaObjTargetCycleList());//list-field-assign//sourceId:952316_1_41932
batchQueryEvaObjTargetCycleReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:952317_1_41932
    }

    /*3-3-09批量查被评对象目标周期列表[2335]   */
    Assert.isNull(batchQueryEvaObjTargetCycleReq.getEvaluationTemplateId(),"D3执行分析修订目标周期名称条件(公共)-3-3-09批量查被评对象目标周期列表-冗余评价模板ID不能为空",false);
Assert.isNull(batchQueryEvaObjTargetCycleReq.getSubjectLifeCycle(),"D3执行分析修订目标周期名称条件(公共)-3-3-09批量查被评对象目标周期列表-主体生命周期不能为空",false);
      listOmsEvaluationObjectTargetCycle = mOmsEvaluationObjectTargetCycleService.batchQueryEvaObjTargetCycle(batchQueryEvaObjTargetCycleReq)/*vcase invoke 本地 method 方法调用;*/;


      listOmsEvaluationObjectTargetCycle_1 = listOmsEvaluationObjectTargetCycle;
      }
ImplementAnalyseReviseTargetCycleNameTermComRespDto retData = new ImplementAnalyseReviseTargetCycleNameTermComRespDto();
  retData.setEvaObjTargetCycleList(listOmsEvaluationObjectTargetCycle_1.stream().map(item -> BeanUtil.toBean(item, EvaObjTargetCycleDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:952319_1




return retData;
  }
/**
   * D3执行循环增验收时间修订变更字段(公共)[6805]
   * gen by moon at 5/17/2023, 4:04:28 AM
   */
  @Trace(operationName = "D3执行循环增验收时间修订变更字段(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementLoopAddReceptionTimeReviseChangeColComRespDto implementLoopAddReceptionTimeReviseChangeColCom(ImplementLoopAddReceptionTimeReviseChangeColComReqDto reqDto){


      //virtualUsage M3执行目标规划设置【循环开始】  41886
      //ModelCode: circulationCollections
        for (TargetCyclePsetDto circulationCollectionsRes: reqDto.getTargetCyclePsetList()){

//virtualUsage 3-3-08查目标周期规划设置（修改后验收时间）  41888
      OmsTargetCyclePlanSet omsTargetCyclePlanSet = null;
    QueryTargetCyclePsetDetailReq queryTargetCyclePsetDetailReq=new QueryTargetCyclePsetDetailReq();
  queryTargetCyclePsetDetailReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:950170_1_41888
queryTargetCyclePsetDetailReq.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:950171_1_41888
if(circulationCollectionsRes!=null){
      queryTargetCyclePsetDetailReq.setTargetCyclePlanSetId(circulationCollectionsRes.getTargetCyclePlanSetId());//SimpleFieldAssign//sourceId:950176_1_41888
    }
if(reqDto!=null){
      queryTargetCyclePsetDetailReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:950174_1_41888
    }

    /*3-3-08查目标周期规划设置（修改后验收时间）[3368]   */
    Assert.isNull(queryTargetCyclePsetDetailReq.getTargetCyclePlanSetId(),"D3执行循环增验收时间修订变更字段(公共)-3-3-08查目标周期规划设置（修改后验收时间）-目标周期规划设置ID不能为空",false);
Assert.isNull(queryTargetCyclePsetDetailReq.getEvaluationTemplateId(),"D3执行循环增验收时间修订变更字段(公共)-3-3-08查目标周期规划设置（修改后验收时间）-冗余评价模板ID不能为空",false);
Assert.isNull(queryTargetCyclePsetDetailReq.getSubjectLifeCycle(),"D3执行循环增验收时间修订变更字段(公共)-3-3-08查目标周期规划设置（修改后验收时间）-主体生命周期不能为空",false);
Assert.isNull(queryTargetCyclePsetDetailReq.getSpaceId(),"D3执行循环增验收时间修订变更字段(公共)-3-3-08查目标周期规划设置（修改后验收时间）-创建于空间ID不能为空",false);
      omsTargetCyclePlanSet = mOmsTargetCyclePlanSetService.queryTargetCyclePsetDetail(queryTargetCyclePsetDetailReq)/*vcase invoke 本地 method 方法调用;*/;



//virtualUsage D2比较修改前与修改后时间是否相同  41889
      CheckTimeScopeSearchComRespDto checkTimeScopeSearchComRespDto = null;
    if(omsTargetCyclePlanSet !=null){
          CheckTimeScopeSearchComReqDto checkTimeScopeSearchComReqDto=new CheckTimeScopeSearchComReqDto();
  if(circulationCollectionsRes!=null){
      checkTimeScopeSearchComReqDto.setCurrentTime(circulationCollectionsRes.getAcceptancePlanTime());//SimpleFieldAssign//sourceId:950185_1_41889
    }
if(omsTargetCyclePlanSet!=null){
      checkTimeScopeSearchComReqDto.setCompareTime(omsTargetCyclePlanSet.getAcceptancePlanTime());//SimpleFieldAssign//sourceId:950187_1_41889
    }

    /*D2比较修改前与修改后时间是否相同[3297]   */
    Assert.isNull(checkTimeScopeSearchComReqDto.getCurrentTime(),"D3执行循环增验收时间修订变更字段(公共)-D2比较修改前与修改后时间是否相同-当前时间不能为空",false);
Assert.isNull(checkTimeScopeSearchComReqDto.getCompareTime(),"D3执行循环增验收时间修订变更字段(公共)-D2比较修改前与修改后时间是否相同-比较时间不能为空",false);
      checkTimeScopeSearchComRespDto = fwCompDivineDataClient.checkTimeScopeSearchCom(checkTimeScopeSearchComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



           }
if((!(checkTimeScopeSearchComRespDto!= null&&  checkTimeScopeSearchComRespDto.getTimeCompareResult() !=null && checkTimeScopeSearchComRespDto.getTimeCompareResult().equals("PRESENT")))) {
        //if(D2比较修改前与修改后时间是否相同.时间比较结果 不等于 当前（等于）)  41890

OmsEvaluationObjectTargetCycle omsEvaluationObjectTargetCycle = null;
    QueryEvaObjTargetCycleDetailReq queryEvaObjTargetCycleDetailReq=new QueryEvaObjTargetCycleDetailReq();
  if(circulationCollectionsRes!=null){
      queryEvaObjTargetCycleDetailReq.setEvaObjTargetCycleId(circulationCollectionsRes.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:950368_1_41894
    }
if(reqDto!=null){
      queryEvaObjTargetCycleDetailReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:950369_1_41894
    }

    /*3-3-09查目标周期简称[2313]   */
    Assert.isNull(queryEvaObjTargetCycleDetailReq.getEvaObjTargetCycleId(),"D3执行循环增验收时间修订变更字段(公共)-3-3-09查目标周期简称-被评对象目标周期ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq.getEvaluationTemplateId(),"D3执行循环增验收时间修订变更字段(公共)-3-3-09查目标周期简称-冗余评价模板ID不能为空",false);
      omsEvaluationObjectTargetCycle = mOmsEvaluationObjectTargetCycleService.queryEvaObjTargetCycleDetail(queryEvaObjTargetCycleDetailReq)/*vcase invoke 本地 method 方法调用;*/;



ImplementTimeTurnToStringComRespDto implementTimeTurnToStringComRespDto = null;
    ImplementTimeTurnToStringComReqDto implementTimeTurnToStringComReqDto=new ImplementTimeTurnToStringComReqDto();
  if(circulationCollectionsRes!=null){
      implementTimeTurnToStringComReqDto.setComTimeField(circulationCollectionsRes.getAcceptancePlanTime());//SimpleFieldAssign//sourceId:950205_1_41891
    }

    /*D2-执行标准时间转换为字符串(公共)[6274]   */
    Assert.isNull(implementTimeTurnToStringComReqDto.getComTimeField(),"D3执行循环增验收时间修订变更字段(公共)-D2-执行标准时间转换为字符串(公共)-通用时间字段不能为空",false);
      implementTimeTurnToStringComRespDto = fwCompInterfaceModeClient.implementTimeTurnToStringCom(implementTimeTurnToStringComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



ImplementTimeTurnToStringComRespDto implementTimeTurnToStringComRespDto_2 = null;
    if(omsTargetCyclePlanSet !=null){
          ImplementTimeTurnToStringComReqDto implementTimeTurnToStringComReqDto_1=new ImplementTimeTurnToStringComReqDto();
  if(omsTargetCyclePlanSet!=null){
      implementTimeTurnToStringComReqDto_1.setComTimeField(omsTargetCyclePlanSet.getAcceptancePlanTime());//SimpleFieldAssign//sourceId:950205_1_41892
    }

    /*D2-执行标准时间转换为字符串(公共)[6274]   */
    Assert.isNull(implementTimeTurnToStringComReqDto_1.getComTimeField(),"D3执行循环增验收时间修订变更字段(公共)-D2-执行标准时间转换为字符串(公共)-通用时间字段不能为空",false);
      implementTimeTurnToStringComRespDto_2 = fwCompInterfaceModeClient.implementTimeTurnToStringCom(implementTimeTurnToStringComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;



           }
AddReviseContSingleChangeColComRespDto addReviseContSingleChangeColComRespDto = null;
    if(implementTimeTurnToStringComRespDto_2 !=null&&implementTimeTurnToStringComRespDto !=null&&omsEvaluationObjectTargetCycle !=null){
          AddReviseContSingleChangeColComReqDto addReviseContSingleChangeColComReqDto=new AddReviseContSingleChangeColComReqDto();
  addReviseContSingleChangeColComReqDto.setTemplateSemanticEngineCode("MODIFY_RECEIVE_TIME_LOG_NAME");//CUSTOM_CONVENTION//sourceId:950188_1_41893
addReviseContSingleChangeColComReqDto.setTableTypeCode("OMS_TARGET_CYCLE_PLAN_SET");//sourceId:950191_1_41893
addReviseContSingleChangeColComReqDto.setEntityName("targetCyclePlanSetId");//CUSTOM_CONVENTION//sourceId:950192_1_41893
addReviseContSingleChangeColComReqDto.setObjectPropertyCode("acceptancePlanTime");//CUSTOM_CONVENTION//sourceId:950194_1_41893
addReviseContSingleChangeColComReqDto.setObjectPropertyName("修订计划验收时间");//CUSTOM_CONVENTION//sourceId:950195_1_41893
addReviseContSingleChangeColComReqDto.setSubjectTypeCode("EVALUATION_TEMPLATE_LOG_NAV");//sourceId:950199_1_41893
addReviseContSingleChangeColComReqDto.setSubjectChangeType("REVISE_RECEIVE_TIME");//CUSTOM_CONVENTION//sourceId:950200_1_41893
if(circulationCollectionsRes!=null){
      addReviseContSingleChangeColComReqDto.setEntityId(circulationCollectionsRes.getTargetCyclePlanSetId());//SimpleFieldAssign//sourceId:950193_1_41893
    }
if(implementTimeTurnToStringComRespDto_2!=null){
      addReviseContSingleChangeColComReqDto.setMetaDataColumnContent(implementTimeTurnToStringComRespDto_2.getComTxtField());//SimpleFieldAssign//sourceId:950196_1_41893
addReviseContSingleChangeColComReqDto.setColumnContent(implementTimeTurnToStringComRespDto_2.getComTxtField());//SimpleFieldAssign//sourceId:950197_1_41893
    }
if(implementTimeTurnToStringComRespDto!=null){
      addReviseContSingleChangeColComReqDto.setOriColumnContent(implementTimeTurnToStringComRespDto.getComTxtField());//SimpleFieldAssign//sourceId:950198_1_41893
    }
if(reqDto!=null){
      addReviseContSingleChangeColComReqDto.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:950201_1_41893
addReviseContSingleChangeColComReqDto.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:950202_1_41893
addReviseContSingleChangeColComReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:950189_1_41893
addReviseContSingleChangeColComReqDto.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:950190_1_41893
    }
if(omsEvaluationObjectTargetCycle!=null){
      addReviseContSingleChangeColComReqDto.setReviseSubjectContent(omsEvaluationObjectTargetCycle.getCyclelAlias());//SimpleFieldAssign//sourceId:950203_1_41893
    }

    /*D3新增修订单字段变更记录(公共)[6625]   */
    Assert.isNull(addReviseContSingleChangeColComReqDto.getTemplateSemanticEngineCode(),"D3执行循环增验收时间修订变更字段(公共)-D3新增修订单字段变更记录(公共)-模板引擎标识不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getTableTypeCode(),"D3执行循环增验收时间修订变更字段(公共)-D3新增修订单字段变更记录(公共)-内容表类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getEntityId(),"D3执行循环增验收时间修订变更字段(公共)-D3新增修订单字段变更记录(公共)-内容表主键ID不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getEntityName(),"D3执行循环增验收时间修订变更字段(公共)-D3新增修订单字段变更记录(公共)-内容表主键字段英文名不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getObjectPropertyCode(),"D3执行循环增验收时间修订变更字段(公共)-D3新增修订单字段变更记录(公共)-变更字段英文名不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getObjectPropertyName(),"D3执行循环增验收时间修订变更字段(公共)-D3新增修订单字段变更记录(公共)-变更字段行为日志名称不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getMetaDataColumnContent(),"D3执行循环增验收时间修订变更字段(公共)-D3新增修订单字段变更记录(公共)-变更字段原始值不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getColumnContent(),"D3执行循环增验收时间修订变更字段(公共)-D3新增修订单字段变更记录(公共)-变更后字段中文内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getOriColumnContent(),"D3执行循环增验收时间修订变更字段(公共)-D3新增修订单字段变更记录(公共)-变更前字段中文内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getSubjectTypeCode(),"D3执行循环增验收时间修订变更字段(公共)-D3新增修订单字段变更记录(公共)-主体类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getSubjectChangeType(),"D3执行循环增验收时间修订变更字段(公共)-D3新增修订单字段变更记录(公共)-主体变更日志类型不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getObjectTypeCode(),"D3执行循环增验收时间修订变更字段(公共)-D3新增修订单字段变更记录(公共)-归属对象类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getObjectId(),"D3执行循环增验收时间修订变更字段(公共)-D3新增修订单字段变更记录(公共)-归属对象内容ID不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getReviseSubjectContent(),"D3执行循环增验收时间修订变更字段(公共)-D3新增修订单字段变更记录(公共)-修订主体内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getBatchCode(),"D3执行循环增验收时间修订变更字段(公共)-D3新增修订单字段变更记录(公共)-批次标识不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getBatchCurrentStatus(),"D3执行循环增验收时间修订变更字段(公共)-D3新增修订单字段变更记录(公共)-批次现状不能为空",false);
      addReviseContSingleChangeColComRespDto = addReviseContSingleChangeColCom(addReviseContSingleChangeColComReqDto)/*vcase invoke 同服务,同domain*/;



           }
      }
//virtualUsage M3-目标规划设置发牌【循环结束】  41887
      //ModelCode: circulationEnd
        }

ImplementLoopAddReceptionTimeReviseChangeColComRespDto retData = new ImplementLoopAddReceptionTimeReviseChangeColComRespDto();





return retData;
  }
/**
   * D3执行分析修订验收时间条件(公共)[6806]
   * gen by moon at 5/17/2023, 12:45:40 PM
   */
  @Trace(operationName = "D3执行分析修订验收时间条件(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementAnalyseReviseReceptionTimeTermComRespDto implementAnalyseReviseReceptionTimeTermCom(ImplementAnalyseReviseReceptionTimeTermComReqDto reqDto){


      List<OmsTargetCyclePlanSet> listOmsTargetCyclePlanSet_1 =new ArrayList<>();
if((reqDto!= null&& reqDto.getBatchCurrentStatus() != null &&reqDto!= null&&  reqDto.getBatchCurrentStatus() !=null && reqDto.getBatchCurrentStatus().equals("2")&&reqDto!= null&&  reqDto.getTargetCyclePsetList() !=null && reqDto.getTargetCyclePsetList().size()>0)) {
        //if((D3执行分析修订验收时间条件(公共).批次现状 值不等于空  and D3执行分析修订验收时间条件(公共).批次现状 等于 2 and D3执行分析修订验收时间条件(公共).目标周期规划设置列表数据集条数 大于 0))  41905

List<OmsTargetCyclePlanSet> listOmsTargetCyclePlanSet =new ArrayList<>();
    BatchQueryTargetCyclePsetListByIdsReq batchQueryTargetCyclePsetListByIdsReq=new BatchQueryTargetCyclePsetListByIdsReq();
  batchQueryTargetCyclePsetListByIdsReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:951102_1_41906
if(reqDto!=null){
      batchQueryTargetCyclePsetListByIdsReq.setTargetCyclePsetList(reqDto.getTargetCyclePsetList());//list-field-assign//sourceId:951100_1_41906
batchQueryTargetCyclePsetListByIdsReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:951101_1_41906
    }

    /*3-3-08批量查询目标周期规划设置列表By设置Id[6813]   */
    Assert.isNull(batchQueryTargetCyclePsetListByIdsReq.getEvaluationTemplateId(),"D3执行分析修订验收时间条件(公共)-3-3-08批量查询目标周期规划设置列表By设置Id-冗余评价模板ID不能为空",false);
Assert.isNull(batchQueryTargetCyclePsetListByIdsReq.getSubjectLifeCycle(),"D3执行分析修订验收时间条件(公共)-3-3-08批量查询目标周期规划设置列表By设置Id-主体生命周期不能为空",false);
      listOmsTargetCyclePlanSet = mOmsTargetCyclePlanSetService.batchQueryTargetCyclePsetListByIds(batchQueryTargetCyclePsetListByIdsReq)/*vcase invoke 本地 method 方法调用;*/;


      listOmsTargetCyclePlanSet_1 = listOmsTargetCyclePlanSet;
      }
ImplementAnalyseReviseReceptionTimeTermComRespDto retData = new ImplementAnalyseReviseReceptionTimeTermComRespDto();
  retData.setTargetCyclePsetList(listOmsTargetCyclePlanSet_1.stream().map(item -> BeanUtil.toBean(item, TargetCyclePsetDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:951104_1




return retData;
  }
/**
   * D3执行增指标分工设置修订变更字段(公共)[6818]
   * gen by moon at 5/17/2023, 9:08:13 PM
   */
  @Trace(operationName = "D3执行增指标分工设置修订变更字段(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementAddObjectiveDivReviseChangeColComRespDto implementAddObjectiveDivReviseChangeColCom(ImplementAddObjectiveDivReviseChangeColComReqDto reqDto){


      //virtualUsage 3-3-03查指标简称  42053
      OmsTargetObjective omsTargetObjective = null;
    QueryTargetObjDetailReq queryTargetObjDetailReq=new QueryTargetObjDetailReq();
  if(reqDto!=null){
      queryTargetObjDetailReq.setObjectiveId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:953468_1_42053
queryTargetObjDetailReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:954296_1_42053
    }

    /*3-3-03查指标简称[2697]   */
    Assert.isNull(queryTargetObjDetailReq.getObjectiveId(),"D3执行增指标分工设置修订变更字段(公共)-3-3-03查指标简称-指标ID不能为空",false);
Assert.isNull(queryTargetObjDetailReq.getEvaluationTemplateId(),"D3执行增指标分工设置修订变更字段(公共)-3-3-03查指标简称-冗余评价模板ID不能为空",false);
      omsTargetObjective = mOmsTargetObjectiveService.queryTargetObjDetail(queryTargetObjDetailReq)/*vcase invoke 本地 method 方法调用;*/;



if((reqDto!= null&&  reqDto.getCreateLowerIndicator() !=null && reqDto.getCreateLowerIndicator().equals("TRUE")&&reqDto!= null&&  reqDto.getReviseCreateLowerIndicator() !=null && reqDto.getReviseCreateLowerIndicator().equals("FALSE"))||(reqDto!= null&&  reqDto.getCreateLowerIndicator() !=null && reqDto.getCreateLowerIndicator().equals("FALSE")&&reqDto!= null&&  reqDto.getReviseCreateLowerIndicator() !=null && reqDto.getReviseCreateLowerIndicator().equals("TRUE"))) {
        //if((D3执行增指标分工设置修订变更字段(公共).修订前本级是否向下分工 等于 是 and D3执行增指标分工设置修订变更字段(公共).修订后本级是否向下分工 等于 否) or (D3执行增指标分工设置修订变更字段(公共).修订前本级是否向下分工 等于 否 and D3执行增指标分工设置修订变更字段(公共).修订后本级是否向下分工 等于 是))  42039

ObtainAnalyseObjtiveExtendFieldValueNameComRespDto obtainAnalyseObjtiveExtendFieldValueNameComRespDto = null;
    ObtainAnalyseObjtiveExtendFieldValueNameComReqDto obtainAnalyseObjtiveExtendFieldValueNameComReqDto=new ObtainAnalyseObjtiveExtendFieldValueNameComReqDto();
  if(reqDto!=null){
      obtainAnalyseObjtiveExtendFieldValueNameComReqDto.setCreateLowerIndicator(reqDto.getCreateLowerIndicator());//SimpleFieldAssign//sourceId:956283_1_42083
    }

    /*D3获取指标扩展字段值中文名(公共)[6820]   */

      obtainAnalyseObjtiveExtendFieldValueNameComRespDto = obtainAnalyseObjtiveExtendFieldValueNameCom(obtainAnalyseObjtiveExtendFieldValueNameComReqDto)/*vcase invoke 同服务,同domain*/;



ObtainAnalyseObjtiveExtendFieldValueNameComRespDto obtainAnalyseObjtiveExtendFieldValueNameComRespDto_2 = null;
    ObtainAnalyseObjtiveExtendFieldValueNameComReqDto obtainAnalyseObjtiveExtendFieldValueNameComReqDto_1=new ObtainAnalyseObjtiveExtendFieldValueNameComReqDto();
  if(reqDto!=null){
      obtainAnalyseObjtiveExtendFieldValueNameComReqDto_1.setCreateLowerIndicator(reqDto.getReviseCreateLowerIndicator());//SimpleFieldAssign//sourceId:956283_1_42084
    }

    /*D3获取指标扩展字段值中文名(公共)[6820]   */

      obtainAnalyseObjtiveExtendFieldValueNameComRespDto_2 = obtainAnalyseObjtiveExtendFieldValueNameCom(obtainAnalyseObjtiveExtendFieldValueNameComReqDto_1)/*vcase invoke 同服务,同domain*/;



AddReviseContSingleChangeColComRespDto addReviseContSingleChangeColComRespDto = null;
    if(obtainAnalyseObjtiveExtendFieldValueNameComRespDto_2 !=null&&obtainAnalyseObjtiveExtendFieldValueNameComRespDto !=null&&omsTargetObjective !=null){
          AddReviseContSingleChangeColComReqDto addReviseContSingleChangeColComReqDto=new AddReviseContSingleChangeColComReqDto();
  addReviseContSingleChangeColComReqDto.setTemplateSemanticEngineCode("MODIFY_OBJTIVE_DIV_LOG_NAME");//CUSTOM_CONVENTION//sourceId:953373_1_42040
addReviseContSingleChangeColComReqDto.setTableTypeCode("OMS_TARGET_OBJECTIVE_PLAN_EXTEND");//sourceId:953376_1_42040
addReviseContSingleChangeColComReqDto.setEntityName("objectivePlanningExtendId");//CUSTOM_CONVENTION//sourceId:953377_1_42040
addReviseContSingleChangeColComReqDto.setObjectPropertyCode("createLowerIndicator");//CUSTOM_CONVENTION//sourceId:953379_1_42040
addReviseContSingleChangeColComReqDto.setObjectPropertyName("修订指标分工设置");//CUSTOM_CONVENTION//sourceId:953380_1_42040
addReviseContSingleChangeColComReqDto.setSubjectTypeCode("EVALUATION_TEMPLATE_LOG_NAV");//sourceId:953384_1_42040
addReviseContSingleChangeColComReqDto.setSubjectChangeType("REVISE_OBJTIVE_DIV");//CUSTOM_CONVENTION//sourceId:953385_1_42040
addReviseContSingleChangeColComReqDto.setObjectTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:953386_1_42040
if(reqDto!=null){
      addReviseContSingleChangeColComReqDto.setEntityId(reqDto.getObjectivePlanningExtendId());//SimpleFieldAssign//sourceId:953378_1_42040
addReviseContSingleChangeColComReqDto.setMetaDataColumnContent(reqDto.getReviseCreateLowerIndicator());//SimpleFieldAssign//sourceId:953381_1_42040
addReviseContSingleChangeColComReqDto.setObjectId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:953387_1_42040
addReviseContSingleChangeColComReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:953374_1_42040
addReviseContSingleChangeColComReqDto.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:953375_1_42040
    }
if(obtainAnalyseObjtiveExtendFieldValueNameComRespDto_2!=null){
      addReviseContSingleChangeColComReqDto.setColumnContent(obtainAnalyseObjtiveExtendFieldValueNameComRespDto_2.getCustomField());//SimpleFieldAssign//sourceId:953382_1_42040
    }
if(obtainAnalyseObjtiveExtendFieldValueNameComRespDto!=null){
      addReviseContSingleChangeColComReqDto.setOriColumnContent(obtainAnalyseObjtiveExtendFieldValueNameComRespDto.getCustomField());//SimpleFieldAssign//sourceId:953383_1_42040
    }
if(omsTargetObjective!=null){
      addReviseContSingleChangeColComReqDto.setReviseSubjectContent(omsTargetObjective.getObjectiveShortName());//SimpleFieldAssign//sourceId:953388_1_42040
    }

    /*D3新增修订字段变更记录(本级是否向下分工)[6625]   */
    Assert.isNull(addReviseContSingleChangeColComReqDto.getTemplateSemanticEngineCode(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(本级是否向下分工)-模板引擎标识不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getTableTypeCode(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(本级是否向下分工)-内容表类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getEntityId(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(本级是否向下分工)-内容表主键ID不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getEntityName(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(本级是否向下分工)-内容表主键字段英文名不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getObjectPropertyCode(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(本级是否向下分工)-变更字段英文名不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getObjectPropertyName(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(本级是否向下分工)-变更字段行为日志名称不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getMetaDataColumnContent(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(本级是否向下分工)-变更字段原始值不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getColumnContent(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(本级是否向下分工)-变更后字段中文内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getOriColumnContent(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(本级是否向下分工)-变更前字段中文内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getSubjectTypeCode(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(本级是否向下分工)-主体类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getSubjectChangeType(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(本级是否向下分工)-主体变更日志类型不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getObjectTypeCode(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(本级是否向下分工)-归属对象类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getObjectId(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(本级是否向下分工)-归属对象内容ID不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getReviseSubjectContent(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(本级是否向下分工)-修订主体内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getBatchCode(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(本级是否向下分工)-批次标识不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getBatchCurrentStatus(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(本级是否向下分工)-批次现状不能为空",false);
      addReviseContSingleChangeColComRespDto = addReviseContSingleChangeColCom(addReviseContSingleChangeColComReqDto)/*vcase invoke 同服务,同domain*/;



           }
      }
if((reqDto!= null&&  reqDto.getSubordinateDivBodyType() !=null && reqDto.getSubordinateDivBodyType().equals("PERSONAL")&&reqDto!= null&&  reqDto.getReviseSubordinateDivBodyType() !=null && reqDto.getReviseSubordinateDivBodyType().equals("DEPT"))||(reqDto!= null&&  reqDto.getSubordinateDivBodyType() !=null && reqDto.getSubordinateDivBodyType().equals("DEPT")&&reqDto!= null&&  reqDto.getReviseSubordinateDivBodyType() !=null && reqDto.getReviseSubordinateDivBodyType().equals("PERSONAL"))) {
        //if((D3执行增指标分工设置修订变更字段(公共).修订前本级向下分工责任主体类型 等于 个人 and D3执行增指标分工设置修订变更字段(公共).修订后本级向下分工责任主体类型 等于 部门) or (D3执行增指标分工设置修订变更字段(公共).修订前本级向下分工责任主体类型 等于 部门 and D3执行增指标分工设置修订变更字段(公共).修订后本级向下分工责任主体类型 等于 个人))  42049

ObtainAnalyseObjtiveExtendFieldValueNameComRespDto obtainAnalyseObjtiveExtendFieldValueNameComRespDto_3 = null;
    ObtainAnalyseObjtiveExtendFieldValueNameComReqDto obtainAnalyseObjtiveExtendFieldValueNameComReqDto_2=new ObtainAnalyseObjtiveExtendFieldValueNameComReqDto();
  if(reqDto!=null){
      obtainAnalyseObjtiveExtendFieldValueNameComReqDto_2.setSubordinateDivBodyType(reqDto.getSubordinateDivBodyType());//SimpleFieldAssign//sourceId:956284_1_42085
    }

    /*D3获取指标扩展字段值中文名(公共)[6820]   */

      obtainAnalyseObjtiveExtendFieldValueNameComRespDto_3 = obtainAnalyseObjtiveExtendFieldValueNameCom(obtainAnalyseObjtiveExtendFieldValueNameComReqDto_2)/*vcase invoke 同服务,同domain*/;



ObtainAnalyseObjtiveExtendFieldValueNameComRespDto obtainAnalyseObjtiveExtendFieldValueNameComRespDto_4 = null;
    ObtainAnalyseObjtiveExtendFieldValueNameComReqDto obtainAnalyseObjtiveExtendFieldValueNameComReqDto_3=new ObtainAnalyseObjtiveExtendFieldValueNameComReqDto();
  if(reqDto!=null){
      obtainAnalyseObjtiveExtendFieldValueNameComReqDto_3.setSubordinateDivBodyType(reqDto.getReviseSubordinateDivBodyType());//SimpleFieldAssign//sourceId:956284_1_42086
    }

    /*D3获取指标扩展字段值中文名(公共)[6820]   */

      obtainAnalyseObjtiveExtendFieldValueNameComRespDto_4 = obtainAnalyseObjtiveExtendFieldValueNameCom(obtainAnalyseObjtiveExtendFieldValueNameComReqDto_3)/*vcase invoke 同服务,同domain*/;



AddReviseContSingleChangeColComRespDto addReviseContSingleChangeColComRespDto_2 = null;
    if(obtainAnalyseObjtiveExtendFieldValueNameComRespDto_4 !=null&&obtainAnalyseObjtiveExtendFieldValueNameComRespDto_3 !=null&&omsTargetObjective !=null){
          AddReviseContSingleChangeColComReqDto addReviseContSingleChangeColComReqDto_1=new AddReviseContSingleChangeColComReqDto();
  addReviseContSingleChangeColComReqDto_1.setTemplateSemanticEngineCode("MODIFY_OBJTIVE_DIV_LOG_NAME");//CUSTOM_CONVENTION//sourceId:954079_1_42051
addReviseContSingleChangeColComReqDto_1.setTableTypeCode("OMS_TARGET_OBJECTIVE_PLAN_EXTEND");//sourceId:954082_1_42051
addReviseContSingleChangeColComReqDto_1.setEntityName("objectivePlanningExtendId");//CUSTOM_CONVENTION//sourceId:954083_1_42051
addReviseContSingleChangeColComReqDto_1.setObjectPropertyCode("subordinateDivBodyType");//CUSTOM_CONVENTION//sourceId:954085_1_42051
addReviseContSingleChangeColComReqDto_1.setObjectPropertyName("修订指标分工设置");//CUSTOM_CONVENTION//sourceId:954086_1_42051
addReviseContSingleChangeColComReqDto_1.setSubjectTypeCode("EVALUATION_TEMPLATE_LOG_NAV");//sourceId:954090_1_42051
addReviseContSingleChangeColComReqDto_1.setSubjectChangeType("REVISE_OBJTIVE_DIV");//CUSTOM_CONVENTION//sourceId:954091_1_42051
addReviseContSingleChangeColComReqDto_1.setObjectTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:954092_1_42051
if(reqDto!=null){
      addReviseContSingleChangeColComReqDto_1.setEntityId(reqDto.getObjectivePlanningExtendId());//SimpleFieldAssign//sourceId:954084_1_42051
addReviseContSingleChangeColComReqDto_1.setMetaDataColumnContent(reqDto.getReviseSubordinateDivBodyType());//SimpleFieldAssign//sourceId:954087_1_42051
addReviseContSingleChangeColComReqDto_1.setObjectId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:954093_1_42051
addReviseContSingleChangeColComReqDto_1.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:954080_1_42051
addReviseContSingleChangeColComReqDto_1.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:954081_1_42051
    }
if(obtainAnalyseObjtiveExtendFieldValueNameComRespDto_4!=null){
      addReviseContSingleChangeColComReqDto_1.setColumnContent(obtainAnalyseObjtiveExtendFieldValueNameComRespDto_4.getCustomField());//SimpleFieldAssign//sourceId:954088_1_42051
    }
if(obtainAnalyseObjtiveExtendFieldValueNameComRespDto_3!=null){
      addReviseContSingleChangeColComReqDto_1.setOriColumnContent(obtainAnalyseObjtiveExtendFieldValueNameComRespDto_3.getCustomField());//SimpleFieldAssign//sourceId:954089_1_42051
    }
if(omsTargetObjective!=null){
      addReviseContSingleChangeColComReqDto_1.setReviseSubjectContent(omsTargetObjective.getObjectiveShortName());//SimpleFieldAssign//sourceId:954094_1_42051
    }

    /*D3新增修订字段变更记录(向下分工责任主体类型)[6625]   */
    Assert.isNull(addReviseContSingleChangeColComReqDto_1.getTemplateSemanticEngineCode(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(向下分工责任主体类型)-模板引擎标识不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getTableTypeCode(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(向下分工责任主体类型)-内容表类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getEntityId(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(向下分工责任主体类型)-内容表主键ID不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getEntityName(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(向下分工责任主体类型)-内容表主键字段英文名不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getObjectPropertyCode(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(向下分工责任主体类型)-变更字段英文名不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getObjectPropertyName(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(向下分工责任主体类型)-变更字段行为日志名称不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getMetaDataColumnContent(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(向下分工责任主体类型)-变更字段原始值不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getColumnContent(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(向下分工责任主体类型)-变更后字段中文内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getOriColumnContent(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(向下分工责任主体类型)-变更前字段中文内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getSubjectTypeCode(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(向下分工责任主体类型)-主体类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getSubjectChangeType(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(向下分工责任主体类型)-主体变更日志类型不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getObjectTypeCode(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(向下分工责任主体类型)-归属对象类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getObjectId(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(向下分工责任主体类型)-归属对象内容ID不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getReviseSubjectContent(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(向下分工责任主体类型)-修订主体内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getBatchCode(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(向下分工责任主体类型)-批次标识不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getBatchCurrentStatus(),"D3执行增指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(向下分工责任主体类型)-批次现状不能为空",false);
      addReviseContSingleChangeColComRespDto_2 = addReviseContSingleChangeColCom(addReviseContSingleChangeColComReqDto_1)/*vcase invoke 同服务,同domain*/;



           }
      }
ImplementAddObjectiveDivReviseChangeColComRespDto retData = new ImplementAddObjectiveDivReviseChangeColComRespDto();





return retData;
  }
/**
   * D3获取指标扩展字段值中文名(公共)[6820]
   * gen by moon at 5/17/2023, 8:57:28 PM
   */
  @Trace(operationName = "D3获取指标扩展字段值中文名(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ObtainAnalyseObjtiveExtendFieldValueNameComRespDto obtainAnalyseObjtiveExtendFieldValueNameCom(ObtainAnalyseObjtiveExtendFieldValueNameComReqDto reqDto){


      ImplementAcceptFieldRespDto receptionServiceRes_3 =null;
if((reqDto!= null&&  reqDto.getCreateLowerIndicator() !=null && reqDto.getCreateLowerIndicator().equals("TRUE")||reqDto!= null&&  reqDto.getLowCreateLowerIndicator() !=null && reqDto.getLowCreateLowerIndicator().equals("TRUE"))) {
        //if((D3获取指标扩展字段值中文名(公共).本级是否向下分工 等于 是 or D3获取指标扩展字段值中文名(公共).下级是否向下分工 等于 是))  42068

//ModelCode: receptionService
        ImplementAcceptFieldRespDto receptionServiceRes = null;
    ImplementAcceptFieldReqDto receptionServiceReq=new ImplementAcceptFieldReqDto();
  receptionServiceReq.setCustomField("是");//CUSTOM_CONVENTION//sourceId:956260_1_42069

    /*M3字段值中文：是[6100]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq.getCustomField(),"D3获取指标扩展字段值中文名(公共)-M3字段值中文：是-自定义字段不能为空",false);
      receptionServiceRes = nbReviseTargetContent.implementAcceptField(receptionServiceReq);



//ModelCode: receptionService
        ImplementAcceptFieldRespDto receptionServiceRes_2 = null;
    ImplementAcceptFieldReqDto receptionServiceReq_1=new ImplementAcceptFieldReqDto();
  if(receptionServiceRes!=null){
      receptionServiceReq_1.setCustomField(receptionServiceRes.getCustomField());//SimpleFieldAssign//sourceId:956270_1_42070
    }

    /*M3接收上文出参值[6100]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_1.getCustomField(),"D3获取指标扩展字段值中文名(公共)-M3接收上文出参值-自定义字段不能为空",false);
      receptionServiceRes_2 = nbReviseTargetContent.implementAcceptField(receptionServiceReq_1);


      receptionServiceRes_3 = receptionServiceRes_2;
      }
else if((reqDto!= null&&  reqDto.getCreateLowerIndicator() !=null && reqDto.getCreateLowerIndicator().equals("FALSE")||reqDto!= null&&  reqDto.getLowCreateLowerIndicator() !=null && reqDto.getLowCreateLowerIndicator().equals("FALSE"))){
       //elseif((D3获取指标扩展字段值中文名(公共).本级是否向下分工 等于 否 or D3获取指标扩展字段值中文名(公共).下级是否向下分工 等于 否))  42071

//ModelCode: receptionService
        ImplementAcceptFieldRespDto receptionServiceRes_4 = null;
    ImplementAcceptFieldReqDto receptionServiceReq_2=new ImplementAcceptFieldReqDto();
  receptionServiceReq_2.setCustomField("否");//CUSTOM_CONVENTION//sourceId:956262_1_42072

    /*M3字段值中文：否[6100]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_2.getCustomField(),"D3获取指标扩展字段值中文名(公共)-M3字段值中文：否-自定义字段不能为空",false);
      receptionServiceRes_4 = nbReviseTargetContent.implementAcceptField(receptionServiceReq_2);



//ModelCode: receptionService
        ImplementAcceptFieldRespDto receptionServiceRes_6 = null;
    ImplementAcceptFieldReqDto receptionServiceReq_3=new ImplementAcceptFieldReqDto();
  if(receptionServiceRes_4!=null){
      receptionServiceReq_3.setCustomField(receptionServiceRes_4.getCustomField());//SimpleFieldAssign//sourceId:956270_1_42073
    }

    /*M3接收上文出参值[6100]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_3.getCustomField(),"D3获取指标扩展字段值中文名(公共)-M3接收上文出参值-自定义字段不能为空",false);
      receptionServiceRes_6 = nbReviseTargetContent.implementAcceptField(receptionServiceReq_3);


      receptionServiceRes_3 = receptionServiceRes_6;
    }
else if((reqDto!= null&&  reqDto.getSubordinateDivBodyType() !=null && reqDto.getSubordinateDivBodyType().equals("PERSONAL")||reqDto!= null&&  reqDto.getLowSubordinateDivBodyType() !=null && reqDto.getLowSubordinateDivBodyType().equals("PERSONAL"))){
       //elseif((D3获取指标扩展字段值中文名(公共).本级向下分工责任主体类型 等于 个人 or D3获取指标扩展字段值中文名(公共).下级向下分工责任主体类型 等于 个人))  42074

//ModelCode: receptionService
        ImplementAcceptFieldRespDto receptionServiceRes_7 = null;
    ImplementAcceptFieldReqDto receptionServiceReq_4=new ImplementAcceptFieldReqDto();
  receptionServiceReq_4.setCustomField("个人");//CUSTOM_CONVENTION//sourceId:956266_1_42075

    /*M3字段值中文：个人[6100]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_4.getCustomField(),"D3获取指标扩展字段值中文名(公共)-M3字段值中文：个人-自定义字段不能为空",false);
      receptionServiceRes_7 = nbReviseTargetContent.implementAcceptField(receptionServiceReq_4);



//ModelCode: receptionService
        ImplementAcceptFieldRespDto receptionServiceRes_9 = null;
    ImplementAcceptFieldReqDto receptionServiceReq_5=new ImplementAcceptFieldReqDto();
  if(receptionServiceRes_7!=null){
      receptionServiceReq_5.setCustomField(receptionServiceRes_7.getCustomField());//SimpleFieldAssign//sourceId:956270_1_42076
    }

    /*M3接收上文出参值[6100]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_5.getCustomField(),"D3获取指标扩展字段值中文名(公共)-M3接收上文出参值-自定义字段不能为空",false);
      receptionServiceRes_9 = nbReviseTargetContent.implementAcceptField(receptionServiceReq_5);


      receptionServiceRes_3 = receptionServiceRes_9;
    }
else if((reqDto!= null&&  reqDto.getSubordinateDivBodyType() !=null && reqDto.getSubordinateDivBodyType().equals("DEPT")||reqDto!= null&&  reqDto.getLowSubordinateDivBodyType() !=null && reqDto.getLowSubordinateDivBodyType().equals("DEPT"))){
       //elseif((D3获取指标扩展字段值中文名(公共).本级向下分工责任主体类型 等于 部门 or D3获取指标扩展字段值中文名(公共).下级向下分工责任主体类型 等于 部门))  42077

//ModelCode: receptionService
        ImplementAcceptFieldRespDto receptionServiceRes_10 = null;
    ImplementAcceptFieldReqDto receptionServiceReq_6=new ImplementAcceptFieldReqDto();
  receptionServiceReq_6.setCustomField("部门");//CUSTOM_CONVENTION//sourceId:956268_1_42078

    /*M3字段值中文：部门[6100]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_6.getCustomField(),"D3获取指标扩展字段值中文名(公共)-M3字段值中文：部门-自定义字段不能为空",false);
      receptionServiceRes_10 = nbReviseTargetContent.implementAcceptField(receptionServiceReq_6);



//ModelCode: receptionService
        ImplementAcceptFieldRespDto receptionServiceRes_12 = null;
    ImplementAcceptFieldReqDto receptionServiceReq_7=new ImplementAcceptFieldReqDto();
  if(receptionServiceRes_10!=null){
      receptionServiceReq_7.setCustomField(receptionServiceRes_10.getCustomField());//SimpleFieldAssign//sourceId:956270_1_42079
    }

    /*M3接收上文出参值[6100]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_7.getCustomField(),"D3获取指标扩展字段值中文名(公共)-M3接收上文出参值-自定义字段不能为空",false);
      receptionServiceRes_12 = nbReviseTargetContent.implementAcceptField(receptionServiceReq_7);


      receptionServiceRes_3 = receptionServiceRes_12;
    }
else if((reqDto!= null&&  reqDto.getLowSubordinateDivBodyType() !=null && reqDto.getLowSubordinateDivBodyType().equals("MIXTURE"))){
       //elseif(D3获取指标扩展字段值中文名(公共).下级向下分工责任主体类型 等于 混合)  42080

//ModelCode: receptionService
        ImplementAcceptFieldRespDto receptionServiceRes_13 = null;
    ImplementAcceptFieldReqDto receptionServiceReq_8=new ImplementAcceptFieldReqDto();
  receptionServiceReq_8.setCustomField("分工到部门与个人");//CUSTOM_CONVENTION//sourceId:956264_1_42082

    /*M3字段值中文：混合[6100]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_8.getCustomField(),"D3获取指标扩展字段值中文名(公共)-M3字段值中文：混合-自定义字段不能为空",false);
      receptionServiceRes_13 = nbReviseTargetContent.implementAcceptField(receptionServiceReq_8);



//ModelCode: receptionService
        ImplementAcceptFieldRespDto receptionServiceRes_15 = null;
    ImplementAcceptFieldReqDto receptionServiceReq_9=new ImplementAcceptFieldReqDto();
  if(receptionServiceRes_13!=null){
      receptionServiceReq_9.setCustomField(receptionServiceRes_13.getCustomField());//SimpleFieldAssign//sourceId:956270_1_42081
    }

    /*M3接收上文出参值[6100]  用于特殊方法接收上游入参。 */
    Assert.isNull(receptionServiceReq_9.getCustomField(),"D3获取指标扩展字段值中文名(公共)-M3接收上文出参值-自定义字段不能为空",false);
      receptionServiceRes_15 = nbReviseTargetContent.implementAcceptField(receptionServiceReq_9);


      receptionServiceRes_3 = receptionServiceRes_15;
    }
ObtainAnalyseObjtiveExtendFieldValueNameComRespDto retData = new ObtainAnalyseObjtiveExtendFieldValueNameComRespDto();
  if(receptionServiceRes_3!=null){
      retData.setCustomField(receptionServiceRes_3.getCustomField());//SimpleFieldAssign//sourceId:956282_1
    }




return retData;
  }
/**
   * D3执行增上级指标分工设置修订变更字段(公共)[6821]
   * gen by moon at 5/17/2023, 11:32:45 PM
   */
  @Trace(operationName = "D3执行增上级指标分工设置修订变更字段(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementAddSuperiorObjectiveDivReviseChangeColComRespDto implementAddSuperiorObjectiveDivReviseChangeColCom(ImplementAddSuperiorObjectiveDivReviseChangeColComReqDto reqDto){


      //virtualUsage 3-3-03查指标简称  42091
      OmsTargetObjective omsTargetObjective = null;
    QueryTargetObjDetailReq queryTargetObjDetailReq=new QueryTargetObjDetailReq();
  if(reqDto!=null){
      queryTargetObjDetailReq.setObjectiveId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:956643_1_42091
queryTargetObjDetailReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:956644_1_42091
    }

    /*3-3-03查指标简称[2697]   */
    Assert.isNull(queryTargetObjDetailReq.getObjectiveId(),"D3执行增上级指标分工设置修订变更字段(公共)-3-3-03查指标简称-指标ID不能为空",false);
Assert.isNull(queryTargetObjDetailReq.getEvaluationTemplateId(),"D3执行增上级指标分工设置修订变更字段(公共)-3-3-03查指标简称-冗余评价模板ID不能为空",false);
      omsTargetObjective = mOmsTargetObjectiveService.queryTargetObjDetail(queryTargetObjDetailReq)/*vcase invoke 本地 method 方法调用;*/;



if((reqDto!= null&&  reqDto.getLowCreateLowerIndicator() !=null && reqDto.getLowCreateLowerIndicator().equals("TRUE")&&reqDto!= null&&  reqDto.getReviseLowCreateLowerIndicator() !=null && reqDto.getReviseLowCreateLowerIndicator().equals("FALSE"))||(reqDto!= null&&  reqDto.getLowCreateLowerIndicator() !=null && reqDto.getLowCreateLowerIndicator().equals("FALSE")&&reqDto!= null&&  reqDto.getReviseLowCreateLowerIndicator() !=null && reqDto.getReviseLowCreateLowerIndicator().equals("TRUE"))) {
        //if((D3执行增上级指标分工设置修订变更字段(公共).修订前下级是否向下分工 等于 是 and D3执行增上级指标分工设置修订变更字段(公共).修订后下级是否向下分工 等于 否) or (D3执行增上级指标分工设置修订变更字段(公共).修订前下级是否向下分工 等于 否 and D3执行增上级指标分工设置修订变更字段(公共).修订后下级是否向下分工 等于 是))  42087

ObtainAnalyseObjtiveExtendFieldValueNameComRespDto obtainAnalyseObjtiveExtendFieldValueNameComRespDto = null;
    ObtainAnalyseObjtiveExtendFieldValueNameComReqDto obtainAnalyseObjtiveExtendFieldValueNameComReqDto=new ObtainAnalyseObjtiveExtendFieldValueNameComReqDto();
  if(reqDto!=null){
      obtainAnalyseObjtiveExtendFieldValueNameComReqDto.setLowCreateLowerIndicator(reqDto.getLowCreateLowerIndicator());//SimpleFieldAssign//sourceId:956640_1_42088
    }

    /*D3获取指标扩展字段值中文名(公共)[6820]   */

      obtainAnalyseObjtiveExtendFieldValueNameComRespDto = obtainAnalyseObjtiveExtendFieldValueNameCom(obtainAnalyseObjtiveExtendFieldValueNameComReqDto)/*vcase invoke 同服务,同domain*/;



ObtainAnalyseObjtiveExtendFieldValueNameComRespDto obtainAnalyseObjtiveExtendFieldValueNameComRespDto_2 = null;
    ObtainAnalyseObjtiveExtendFieldValueNameComReqDto obtainAnalyseObjtiveExtendFieldValueNameComReqDto_1=new ObtainAnalyseObjtiveExtendFieldValueNameComReqDto();
  if(reqDto!=null){
      obtainAnalyseObjtiveExtendFieldValueNameComReqDto_1.setLowCreateLowerIndicator(reqDto.getReviseLowCreateLowerIndicator());//SimpleFieldAssign//sourceId:956640_1_42090
    }

    /*D3获取指标扩展字段值中文名(公共)[6820]   */

      obtainAnalyseObjtiveExtendFieldValueNameComRespDto_2 = obtainAnalyseObjtiveExtendFieldValueNameCom(obtainAnalyseObjtiveExtendFieldValueNameComReqDto_1)/*vcase invoke 同服务,同domain*/;



AddReviseContSingleChangeColComRespDto addReviseContSingleChangeColComRespDto = null;
    if(obtainAnalyseObjtiveExtendFieldValueNameComRespDto_2 !=null&&obtainAnalyseObjtiveExtendFieldValueNameComRespDto !=null&&omsTargetObjective !=null){
          AddReviseContSingleChangeColComReqDto addReviseContSingleChangeColComReqDto=new AddReviseContSingleChangeColComReqDto();
  addReviseContSingleChangeColComReqDto.setTemplateSemanticEngineCode("MODIFY_OBJTIVE_DIV_LOG_NAME");//CUSTOM_CONVENTION//sourceId:956552_1_42089
addReviseContSingleChangeColComReqDto.setTableTypeCode("OMS_TARGET_OBJECTIVE_PLAN_EXTEND");//sourceId:956555_1_42089
addReviseContSingleChangeColComReqDto.setEntityName("lowCreateLowerIndicator");//CUSTOM_CONVENTION//sourceId:956556_1_42089
addReviseContSingleChangeColComReqDto.setObjectPropertyCode("lowCreateLowerIndicator");//CUSTOM_CONVENTION//sourceId:956558_1_42089
addReviseContSingleChangeColComReqDto.setObjectPropertyName("修订指标分工设置");//CUSTOM_CONVENTION//sourceId:956559_1_42089
addReviseContSingleChangeColComReqDto.setSubjectTypeCode("EVALUATION_TEMPLATE_LOG_NAV");//sourceId:956563_1_42089
addReviseContSingleChangeColComReqDto.setSubjectChangeType("REVISE_OBJTIVE_DIV");//CUSTOM_CONVENTION//sourceId:956564_1_42089
addReviseContSingleChangeColComReqDto.setObjectTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:956565_1_42089
if(reqDto!=null){
      addReviseContSingleChangeColComReqDto.setEntityId(reqDto.getObjectivePlanningExtendId());//SimpleFieldAssign//sourceId:956557_1_42089
addReviseContSingleChangeColComReqDto.setMetaDataColumnContent(reqDto.getReviseLowCreateLowerIndicator());//SimpleFieldAssign//sourceId:956560_1_42089
addReviseContSingleChangeColComReqDto.setObjectId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:956566_1_42089
addReviseContSingleChangeColComReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:956553_1_42089
addReviseContSingleChangeColComReqDto.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:956554_1_42089
    }
if(obtainAnalyseObjtiveExtendFieldValueNameComRespDto_2!=null){
      addReviseContSingleChangeColComReqDto.setColumnContent(obtainAnalyseObjtiveExtendFieldValueNameComRespDto_2.getCustomField());//SimpleFieldAssign//sourceId:956561_1_42089
    }
if(obtainAnalyseObjtiveExtendFieldValueNameComRespDto!=null){
      addReviseContSingleChangeColComReqDto.setOriColumnContent(obtainAnalyseObjtiveExtendFieldValueNameComRespDto.getCustomField());//SimpleFieldAssign//sourceId:956562_1_42089
    }
if(omsTargetObjective!=null){
      addReviseContSingleChangeColComReqDto.setReviseSubjectContent(omsTargetObjective.getObjectiveShortName());//SimpleFieldAssign//sourceId:956567_1_42089
    }

    /*D3新增修订单字段变更记录(下级是否向下分工)[6625]   */
    Assert.isNull(addReviseContSingleChangeColComReqDto.getTemplateSemanticEngineCode(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订单字段变更记录(下级是否向下分工)-模板引擎标识不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getTableTypeCode(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订单字段变更记录(下级是否向下分工)-内容表类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getEntityId(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订单字段变更记录(下级是否向下分工)-内容表主键ID不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getEntityName(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订单字段变更记录(下级是否向下分工)-内容表主键字段英文名不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getObjectPropertyCode(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订单字段变更记录(下级是否向下分工)-变更字段英文名不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getObjectPropertyName(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订单字段变更记录(下级是否向下分工)-变更字段行为日志名称不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getMetaDataColumnContent(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订单字段变更记录(下级是否向下分工)-变更字段原始值不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getColumnContent(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订单字段变更记录(下级是否向下分工)-变更后字段中文内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getOriColumnContent(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订单字段变更记录(下级是否向下分工)-变更前字段中文内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getSubjectTypeCode(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订单字段变更记录(下级是否向下分工)-主体类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getSubjectChangeType(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订单字段变更记录(下级是否向下分工)-主体变更日志类型不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getObjectTypeCode(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订单字段变更记录(下级是否向下分工)-归属对象类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getObjectId(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订单字段变更记录(下级是否向下分工)-归属对象内容ID不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getReviseSubjectContent(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订单字段变更记录(下级是否向下分工)-修订主体内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getBatchCode(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订单字段变更记录(下级是否向下分工)-批次标识不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto.getBatchCurrentStatus(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订单字段变更记录(下级是否向下分工)-批次现状不能为空",false);
      addReviseContSingleChangeColComRespDto = addReviseContSingleChangeColCom(addReviseContSingleChangeColComReqDto)/*vcase invoke 同服务,同domain*/;



           }
      }
//virtualUsage D3获取指标扩展字段值中文名(公共)  42102
      ObtainAnalyseObjtiveExtendFieldValueNameComRespDto obtainAnalyseObjtiveExtendFieldValueNameComRespDto_3 = null;
    ObtainAnalyseObjtiveExtendFieldValueNameComReqDto obtainAnalyseObjtiveExtendFieldValueNameComReqDto_2=new ObtainAnalyseObjtiveExtendFieldValueNameComReqDto();
  if(reqDto!=null){
      obtainAnalyseObjtiveExtendFieldValueNameComReqDto_2.setLowSubordinateDivBodyType(reqDto.getLowSubordinateDivBodyType());//SimpleFieldAssign//sourceId:956641_1_42102
    }

    /*D3获取指标扩展字段值中文名(公共)[6820]   */

      obtainAnalyseObjtiveExtendFieldValueNameComRespDto_3 = obtainAnalyseObjtiveExtendFieldValueNameCom(obtainAnalyseObjtiveExtendFieldValueNameComReqDto_2)/*vcase invoke 同服务,同domain*/;



//virtualUsage D3获取指标扩展字段值中文名(公共)  42103
      ObtainAnalyseObjtiveExtendFieldValueNameComRespDto obtainAnalyseObjtiveExtendFieldValueNameComRespDto_4 = null;
    ObtainAnalyseObjtiveExtendFieldValueNameComReqDto obtainAnalyseObjtiveExtendFieldValueNameComReqDto_3=new ObtainAnalyseObjtiveExtendFieldValueNameComReqDto();
  if(reqDto!=null){
      obtainAnalyseObjtiveExtendFieldValueNameComReqDto_3.setLowSubordinateDivBodyType(reqDto.getReviseLowSubordinateDivBodyType());//SimpleFieldAssign//sourceId:956641_1_42103
    }

    /*D3获取指标扩展字段值中文名(公共)[6820]   */

      obtainAnalyseObjtiveExtendFieldValueNameComRespDto_4 = obtainAnalyseObjtiveExtendFieldValueNameCom(obtainAnalyseObjtiveExtendFieldValueNameComReqDto_3)/*vcase invoke 同服务,同domain*/;



if((reqDto!= null&&  reqDto.getLowSubordinateDivBodyType() !=null && reqDto.getLowSubordinateDivBodyType().equals("DEPT"))&&(reqDto!= null&&  reqDto.getReviseLowSubordinateDivBodyType() !=null && reqDto.getReviseLowSubordinateDivBodyType().equals("PERSONAL")||reqDto!= null&&  reqDto.getReviseLowSubordinateDivBodyType() !=null && reqDto.getReviseLowSubordinateDivBodyType().equals("MIXTURE"))) {
        //if(D3执行增上级指标分工设置修订变更字段(公共).修订前下级向下分工责任主体类型 等于 部门 and (D3执行增上级指标分工设置修订变更字段(公共).修订后下级向下分工责任主体类型 等于 个人 or D3执行增上级指标分工设置修订变更字段(公共).修订后下级向下分工责任主体类型 等于 混合))  42095

AddReviseContSingleChangeColComRespDto addReviseContSingleChangeColComRespDto_2 = null;
    if(obtainAnalyseObjtiveExtendFieldValueNameComRespDto_4 !=null&&obtainAnalyseObjtiveExtendFieldValueNameComRespDto_3 !=null&&omsTargetObjective !=null){
          AddReviseContSingleChangeColComReqDto addReviseContSingleChangeColComReqDto_1=new AddReviseContSingleChangeColComReqDto();
  addReviseContSingleChangeColComReqDto_1.setTemplateSemanticEngineCode("MODIFY_OBJTIVE_DIV_LOG_NAME");//CUSTOM_CONVENTION//sourceId:956569_1_42100
addReviseContSingleChangeColComReqDto_1.setTableTypeCode("OMS_TARGET_OBJECTIVE_PLAN_EXTEND");//sourceId:956572_1_42100
addReviseContSingleChangeColComReqDto_1.setEntityName("objectivePlanningExtendId");//CUSTOM_CONVENTION//sourceId:956573_1_42100
addReviseContSingleChangeColComReqDto_1.setObjectPropertyCode("lowSubordinateDivBodyType");//CUSTOM_CONVENTION//sourceId:956575_1_42100
addReviseContSingleChangeColComReqDto_1.setObjectPropertyName("修订指标分工设置");//CUSTOM_CONVENTION//sourceId:956576_1_42100
addReviseContSingleChangeColComReqDto_1.setSubjectTypeCode("EVALUATION_TEMPLATE_LOG_NAV");//sourceId:956580_1_42100
addReviseContSingleChangeColComReqDto_1.setSubjectChangeType("REVISE_OBJTIVE_DIV");//CUSTOM_CONVENTION//sourceId:956581_1_42100
addReviseContSingleChangeColComReqDto_1.setObjectTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:956582_1_42100
if(reqDto!=null){
      addReviseContSingleChangeColComReqDto_1.setEntityId(reqDto.getObjectivePlanningExtendId());//SimpleFieldAssign//sourceId:956574_1_42100
addReviseContSingleChangeColComReqDto_1.setMetaDataColumnContent(reqDto.getReviseLowSubordinateDivBodyType());//SimpleFieldAssign//sourceId:956577_1_42100
addReviseContSingleChangeColComReqDto_1.setObjectId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:956583_1_42100
addReviseContSingleChangeColComReqDto_1.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:956570_1_42100
addReviseContSingleChangeColComReqDto_1.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:956571_1_42100
    }
if(obtainAnalyseObjtiveExtendFieldValueNameComRespDto_4!=null){
      addReviseContSingleChangeColComReqDto_1.setColumnContent(obtainAnalyseObjtiveExtendFieldValueNameComRespDto_4.getCustomField());//SimpleFieldAssign//sourceId:956578_1_42100
    }
if(obtainAnalyseObjtiveExtendFieldValueNameComRespDto_3!=null){
      addReviseContSingleChangeColComReqDto_1.setOriColumnContent(obtainAnalyseObjtiveExtendFieldValueNameComRespDto_3.getCustomField());//SimpleFieldAssign//sourceId:956579_1_42100
    }
if(omsTargetObjective!=null){
      addReviseContSingleChangeColComReqDto_1.setReviseSubjectContent(omsTargetObjective.getObjectiveShortName());//SimpleFieldAssign//sourceId:956584_1_42100
    }

    /*D3新增修订字段变更记录(下级向下分工责任主体类型)[6625]   */
    Assert.isNull(addReviseContSingleChangeColComReqDto_1.getTemplateSemanticEngineCode(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-模板引擎标识不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getTableTypeCode(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-内容表类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getEntityId(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-内容表主键ID不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getEntityName(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-内容表主键字段英文名不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getObjectPropertyCode(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-变更字段英文名不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getObjectPropertyName(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-变更字段行为日志名称不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getMetaDataColumnContent(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-变更字段原始值不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getColumnContent(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-变更后字段中文内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getOriColumnContent(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-变更前字段中文内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getSubjectTypeCode(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-主体类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getSubjectChangeType(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-主体变更日志类型不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getObjectTypeCode(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-归属对象类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getObjectId(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-归属对象内容ID不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getReviseSubjectContent(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-修订主体内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getBatchCode(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-批次标识不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_1.getBatchCurrentStatus(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-批次现状不能为空",false);
      addReviseContSingleChangeColComRespDto_2 = addReviseContSingleChangeColCom(addReviseContSingleChangeColComReqDto_1)/*vcase invoke 同服务,同domain*/;



           }
      }
else if((reqDto!= null&&  reqDto.getLowSubordinateDivBodyType() !=null && reqDto.getLowSubordinateDivBodyType().equals("PERSONAL"))&&(reqDto!= null&&  reqDto.getReviseLowSubordinateDivBodyType() !=null && reqDto.getReviseLowSubordinateDivBodyType().equals("DEPT")||reqDto!= null&&  reqDto.getReviseLowSubordinateDivBodyType() !=null && reqDto.getReviseLowSubordinateDivBodyType().equals("MIXTURE"))){
       //elseif(D3执行增上级指标分工设置修订变更字段(公共).修订前下级向下分工责任主体类型 等于 个人 and (D3执行增上级指标分工设置修订变更字段(公共).修订后下级向下分工责任主体类型 等于 部门 or D3执行增上级指标分工设置修订变更字段(公共).修订后下级向下分工责任主体类型 等于 混合))  42096

AddReviseContSingleChangeColComRespDto addReviseContSingleChangeColComRespDto_4 = null;
    if(obtainAnalyseObjtiveExtendFieldValueNameComRespDto_4 !=null&&obtainAnalyseObjtiveExtendFieldValueNameComRespDto_3 !=null&&omsTargetObjective !=null){
          AddReviseContSingleChangeColComReqDto addReviseContSingleChangeColComReqDto_2=new AddReviseContSingleChangeColComReqDto();
  addReviseContSingleChangeColComReqDto_2.setTemplateSemanticEngineCode("MODIFY_OBJTIVE_DIV_LOG_NAME");//CUSTOM_CONVENTION//sourceId:956569_1_42104
addReviseContSingleChangeColComReqDto_2.setTableTypeCode("OMS_TARGET_OBJECTIVE_PLAN_EXTEND");//sourceId:956572_1_42104
addReviseContSingleChangeColComReqDto_2.setEntityName("objectivePlanningExtendId");//CUSTOM_CONVENTION//sourceId:956573_1_42104
addReviseContSingleChangeColComReqDto_2.setObjectPropertyCode("lowSubordinateDivBodyType");//CUSTOM_CONVENTION//sourceId:956575_1_42104
addReviseContSingleChangeColComReqDto_2.setObjectPropertyName("修订指标分工设置");//CUSTOM_CONVENTION//sourceId:956576_1_42104
addReviseContSingleChangeColComReqDto_2.setSubjectTypeCode("EVALUATION_TEMPLATE_LOG_NAV");//sourceId:956580_1_42104
addReviseContSingleChangeColComReqDto_2.setSubjectChangeType("REVISE_OBJTIVE_DIV");//CUSTOM_CONVENTION//sourceId:956581_1_42104
addReviseContSingleChangeColComReqDto_2.setObjectTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:956582_1_42104
if(reqDto!=null){
      addReviseContSingleChangeColComReqDto_2.setEntityId(reqDto.getObjectivePlanningExtendId());//SimpleFieldAssign//sourceId:956574_1_42104
addReviseContSingleChangeColComReqDto_2.setMetaDataColumnContent(reqDto.getReviseLowSubordinateDivBodyType());//SimpleFieldAssign//sourceId:956577_1_42104
addReviseContSingleChangeColComReqDto_2.setObjectId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:956583_1_42104
addReviseContSingleChangeColComReqDto_2.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:956570_1_42104
addReviseContSingleChangeColComReqDto_2.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:956571_1_42104
    }
if(obtainAnalyseObjtiveExtendFieldValueNameComRespDto_4!=null){
      addReviseContSingleChangeColComReqDto_2.setColumnContent(obtainAnalyseObjtiveExtendFieldValueNameComRespDto_4.getCustomField());//SimpleFieldAssign//sourceId:956578_1_42104
    }
if(obtainAnalyseObjtiveExtendFieldValueNameComRespDto_3!=null){
      addReviseContSingleChangeColComReqDto_2.setOriColumnContent(obtainAnalyseObjtiveExtendFieldValueNameComRespDto_3.getCustomField());//SimpleFieldAssign//sourceId:956579_1_42104
    }
if(omsTargetObjective!=null){
      addReviseContSingleChangeColComReqDto_2.setReviseSubjectContent(omsTargetObjective.getObjectiveShortName());//SimpleFieldAssign//sourceId:956584_1_42104
    }

    /*D3新增修订字段变更记录(下级向下分工责任主体类型)[6625]   */
    Assert.isNull(addReviseContSingleChangeColComReqDto_2.getTemplateSemanticEngineCode(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-模板引擎标识不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getTableTypeCode(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-内容表类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getEntityId(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-内容表主键ID不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getEntityName(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-内容表主键字段英文名不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getObjectPropertyCode(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-变更字段英文名不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getObjectPropertyName(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-变更字段行为日志名称不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getMetaDataColumnContent(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-变更字段原始值不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getColumnContent(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-变更后字段中文内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getOriColumnContent(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-变更前字段中文内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getSubjectTypeCode(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-主体类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getSubjectChangeType(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-主体变更日志类型不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getObjectTypeCode(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-归属对象类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getObjectId(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-归属对象内容ID不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getReviseSubjectContent(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-修订主体内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getBatchCode(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-批次标识不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_2.getBatchCurrentStatus(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-批次现状不能为空",false);
      addReviseContSingleChangeColComRespDto_4 = addReviseContSingleChangeColCom(addReviseContSingleChangeColComReqDto_2)/*vcase invoke 同服务,同domain*/;



           }
    }
else if((reqDto!= null&&  reqDto.getLowSubordinateDivBodyType() !=null && reqDto.getLowSubordinateDivBodyType().equals("MIXTURE"))&&(reqDto!= null&&  reqDto.getReviseLowSubordinateDivBodyType() !=null && reqDto.getReviseLowSubordinateDivBodyType().equals("DEPT")||reqDto!= null&&  reqDto.getReviseLowSubordinateDivBodyType() !=null && reqDto.getReviseLowSubordinateDivBodyType().equals("PERSONAL"))){
       //elseif(D3执行增上级指标分工设置修订变更字段(公共).修订前下级向下分工责任主体类型 等于 混合 and (D3执行增上级指标分工设置修订变更字段(公共).修订后下级向下分工责任主体类型 等于 部门 or D3执行增上级指标分工设置修订变更字段(公共).修订后下级向下分工责任主体类型 等于 个人))  42097

AddReviseContSingleChangeColComRespDto addReviseContSingleChangeColComRespDto_5 = null;
    if(obtainAnalyseObjtiveExtendFieldValueNameComRespDto_4 !=null&&obtainAnalyseObjtiveExtendFieldValueNameComRespDto_3 !=null&&omsTargetObjective !=null){
          AddReviseContSingleChangeColComReqDto addReviseContSingleChangeColComReqDto_3=new AddReviseContSingleChangeColComReqDto();
  addReviseContSingleChangeColComReqDto_3.setTemplateSemanticEngineCode("MODIFY_OBJTIVE_DIV_LOG_NAME");//CUSTOM_CONVENTION//sourceId:956569_1_42105
addReviseContSingleChangeColComReqDto_3.setTableTypeCode("OMS_TARGET_OBJECTIVE_PLAN_EXTEND");//sourceId:956572_1_42105
addReviseContSingleChangeColComReqDto_3.setEntityName("objectivePlanningExtendId");//CUSTOM_CONVENTION//sourceId:956573_1_42105
addReviseContSingleChangeColComReqDto_3.setObjectPropertyCode("lowSubordinateDivBodyType");//CUSTOM_CONVENTION//sourceId:956575_1_42105
addReviseContSingleChangeColComReqDto_3.setObjectPropertyName("修订指标分工设置");//CUSTOM_CONVENTION//sourceId:956576_1_42105
addReviseContSingleChangeColComReqDto_3.setSubjectTypeCode("EVALUATION_TEMPLATE_LOG_NAV");//sourceId:956580_1_42105
addReviseContSingleChangeColComReqDto_3.setSubjectChangeType("REVISE_OBJTIVE_DIV");//CUSTOM_CONVENTION//sourceId:956581_1_42105
addReviseContSingleChangeColComReqDto_3.setObjectTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:956582_1_42105
if(reqDto!=null){
      addReviseContSingleChangeColComReqDto_3.setEntityId(reqDto.getObjectivePlanningExtendId());//SimpleFieldAssign//sourceId:956574_1_42105
addReviseContSingleChangeColComReqDto_3.setMetaDataColumnContent(reqDto.getReviseLowSubordinateDivBodyType());//SimpleFieldAssign//sourceId:956577_1_42105
addReviseContSingleChangeColComReqDto_3.setObjectId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:956583_1_42105
addReviseContSingleChangeColComReqDto_3.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:956570_1_42105
addReviseContSingleChangeColComReqDto_3.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:956571_1_42105
    }
if(obtainAnalyseObjtiveExtendFieldValueNameComRespDto_4!=null){
      addReviseContSingleChangeColComReqDto_3.setColumnContent(obtainAnalyseObjtiveExtendFieldValueNameComRespDto_4.getCustomField());//SimpleFieldAssign//sourceId:956578_1_42105
    }
if(obtainAnalyseObjtiveExtendFieldValueNameComRespDto_3!=null){
      addReviseContSingleChangeColComReqDto_3.setOriColumnContent(obtainAnalyseObjtiveExtendFieldValueNameComRespDto_3.getCustomField());//SimpleFieldAssign//sourceId:956579_1_42105
    }
if(omsTargetObjective!=null){
      addReviseContSingleChangeColComReqDto_3.setReviseSubjectContent(omsTargetObjective.getObjectiveShortName());//SimpleFieldAssign//sourceId:956584_1_42105
    }

    /*D3新增修订字段变更记录(下级向下分工责任主体类型)[6625]   */
    Assert.isNull(addReviseContSingleChangeColComReqDto_3.getTemplateSemanticEngineCode(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-模板引擎标识不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_3.getTableTypeCode(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-内容表类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_3.getEntityId(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-内容表主键ID不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_3.getEntityName(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-内容表主键字段英文名不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_3.getObjectPropertyCode(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-变更字段英文名不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_3.getObjectPropertyName(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-变更字段行为日志名称不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_3.getMetaDataColumnContent(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-变更字段原始值不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_3.getColumnContent(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-变更后字段中文内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_3.getOriColumnContent(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-变更前字段中文内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_3.getSubjectTypeCode(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-主体类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_3.getSubjectChangeType(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-主体变更日志类型不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_3.getObjectTypeCode(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-归属对象类型编码不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_3.getObjectId(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-归属对象内容ID不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_3.getReviseSubjectContent(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-修订主体内容不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_3.getBatchCode(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-批次标识不能为空",false);
Assert.isNull(addReviseContSingleChangeColComReqDto_3.getBatchCurrentStatus(),"D3执行增上级指标分工设置修订变更字段(公共)-D3新增修订字段变更记录(下级向下分工责任主体类型)-批次现状不能为空",false);
      addReviseContSingleChangeColComRespDto_5 = addReviseContSingleChangeColCom(addReviseContSingleChangeColComReqDto_3)/*vcase invoke 同服务,同domain*/;



           }
    }
ImplementAddSuperiorObjectiveDivReviseChangeColComRespDto retData = new ImplementAddSuperiorObjectiveDivReviseChangeColComRespDto();





return retData;
  }
/**
   * D3执行重置目标内容检查项状态等(公共)[6826]
   * gen by moon at 5/19/2023, 6:45:28 AM
   */
  @Trace(operationName = "D3执行重置目标内容检查项状态等(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ImplementResetTargetContCheckItemStateComRespDto implementResetTargetContCheckItemStateCom(ImplementResetTargetContCheckItemStateComReqDto reqDto){


      //virtualUsage 3-11-04批量查已完成的校验项状态  42140
      List<OmsBizAppStatusCheckItem> listOmsBizAppStatusCheckItem =new ArrayList<>();
    BatchQueryBizAppCheckItemStatReq batchQueryBizAppCheckItemStatReq=new BatchQueryBizAppCheckItemStatReq();
  batchQueryBizAppCheckItemStatReq.setIsComplete("TRUE");//sourceId:958287_1_42140
if(reqDto!=null){
      batchQueryBizAppCheckItemStatReq.setBizAppCheckItemStatList(reqDto.getBizAppCheckItemStatList());//list-field-assign//sourceId:958279_1_42140
batchQueryBizAppCheckItemStatReq.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:958285_1_42140
batchQueryBizAppCheckItemStatReq.setCheckItemCode(reqDto.getCheckItemCode());//SimpleFieldAssign//sourceId:958282_1_42140
    }

    /*3-11-04批量查已完成的校验项状态[2769]   */
    Assert.isNull(batchQueryBizAppCheckItemStatReq.getThemeContentId(),"D3执行重置目标内容检查项状态等(公共)-3-11-04批量查已完成的校验项状态-主题内容ID不能为空",false);
Assert.isNull(batchQueryBizAppCheckItemStatReq.getCheckItemCode(),"D3执行重置目标内容检查项状态等(公共)-3-11-04批量查已完成的校验项状态-检查项标识不能为空",false);
Assert.isNull(batchQueryBizAppCheckItemStatReq.getIsComplete(),"D3执行重置目标内容检查项状态等(公共)-3-11-04批量查已完成的校验项状态-是否已完成不能为空",false);
      listOmsBizAppStatusCheckItem = mOmsBizAppStatusCheckItemService.batchQueryBizAppCheckItemStat(batchQueryBizAppCheckItemStatReq)/*vcase invoke 本地 method 方法调用;*/;



if((listOmsBizAppStatusCheckItem!= null&&  listOmsBizAppStatusCheckItem !=null && listOmsBizAppStatusCheckItem.size()>0)) {
        //if(3-11-04批量查已完成的校验项状态.业务应用校验项状态列表数据集条数 大于 0)  42141

boolean bOOLEAN ;
    if(listOmsBizAppStatusCheckItem !=null&& !CollectionUtil.isEmpty(listOmsBizAppStatusCheckItem)&& listOmsBizAppStatusCheckItem.size()>0 ){
          List<OmsBizAppStatusCheckItem> listOmsBizAppStatusCheckItem_2=new ArrayList<>();
  if(listOmsBizAppStatusCheckItem!= null&& !CollectionUtil.isEmpty(listOmsBizAppStatusCheckItem)&&  listOmsBizAppStatusCheckItem !=null&& !CollectionUtil.isEmpty(listOmsBizAppStatusCheckItem)){
      listOmsBizAppStatusCheckItem_2 = //objList-to-objLists
        listOmsBizAppStatusCheckItem.stream().map(item -> {
      OmsBizAppStatusCheckItem elm = new OmsBizAppStatusCheckItem();
      elm.setStatusCheckItemId(item.getStatusCheckItemId());//SimpleFieldAssign//sourceId:204162_2_42142
elm.setIsComplete("FALSE");//sourceId:204163_2_42142
        return elm;
      }).collect(Collectors.toList());//objList-to-objLists//sourceId:958286_1_42142
    }

    /*3-11-04批量重置校验项状态[2770]   */

      bOOLEAN = mOmsBizAppStatusCheckItemService.batchUpdateBizAppCheckItemStat(listOmsBizAppStatusCheckItem_2)/*vcase invoke 本地 method 方法调用;*/;



           }
      }
ImplementResetTargetContCheckItemStateComRespDto retData = new ImplementResetTargetContCheckItemStateComRespDto();





return retData;
  }
/**
   * D3获取目标内容最新批次信息(公共)[7332]
   * gen by moon at 8/4/2023, 9:38:36 PM
   */
  @Trace(operationName = "D3获取目标内容最新批次信息(公共)")
  @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Transactional(rollbackFor=Exception.class)
  @Override
  public ObtainTargetContNewBatchInfoComRespDto obtainTargetContNewBatchInfoCom(ObtainTargetContNewBatchInfoComReqDto reqDto){


      OmsBizAppBatch omsBizAppBatch_1 =null;
if((reqDto!= null&&  reqDto.getTableTypeCode() !=null && reqDto.getTableTypeCode().equals("OMS_TARGET")||reqDto!= null&&  reqDto.getTableTypeCode() !=null && reqDto.getTableTypeCode().equals("OMS_TARGET_CATEGORY"))) {
        //if((D3获取目标内容最新批次信息(公共).内容表类型编码 等于 目标表 or D3获取目标内容最新批次信息(公共).内容表类型编码 等于 目标分类表))  47977

OmsBizAppBatch omsBizAppBatch = null;
    QueryBizAppBatchDetailReq queryBizAppBatchDetailReq=new QueryBizAppBatchDetailReq();
  queryBizAppBatchDetailReq.setIsNewbatch("TRUE");//sourceId:1099412_1_47978
if(reqDto!=null){
      queryBizAppBatchDetailReq.setAscriptionObjectId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1099411_1_47978
queryBizAppBatchDetailReq.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1099413_1_47978
    }

    /*3-13-01查当前主体最新批次[2668]   */
    Assert.isNull(queryBizAppBatchDetailReq.getAscriptionObjectId(),"D3获取目标内容最新批次信息(公共)-3-13-01查当前主体最新批次-归属对象ID不能为空",false);
Assert.isNull(queryBizAppBatchDetailReq.getIsNewbatch(),"D3获取目标内容最新批次信息(公共)-3-13-01查当前主体最新批次-是否最新批次不能为空",false);
Assert.isNull(queryBizAppBatchDetailReq.getThemeContentId(),"D3获取目标内容最新批次信息(公共)-3-13-01查当前主体最新批次-主题内容ID不能为空",false);
      omsBizAppBatch = mOmsBizAppBatchService.queryBizAppBatchDetail(queryBizAppBatchDetailReq)/*vcase invoke 本地 method 方法调用;*/;


      omsBizAppBatch_1 = omsBizAppBatch;
      }
else if((reqDto!= null&&  reqDto.getTableTypeCode() !=null && reqDto.getTableTypeCode().equals("OMS_TARGET_OBJECTIVE"))){
       //elseif(D3获取目标内容最新批次信息(公共).内容表类型编码 等于 指标表)  47979

OmsTargetObjectivePlanExtend omsTargetObjectivePlanExtend = null;
    QueryTargetObjPlanExDetailReq queryTargetObjPlanExDetailReq=new QueryTargetObjPlanExDetailReq();
  if(reqDto!=null){
      queryTargetObjPlanExDetailReq.setObjectiveId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1099427_1_47982
queryTargetObjPlanExDetailReq.setEvaluationTemplateId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1099448_1_47982
    }

    /*3-3-05查指标是否自定义 O[2725]   */
    Assert.isNull(queryTargetObjPlanExDetailReq.getObjectiveId(),"D3获取目标内容最新批次信息(公共)-3-3-05查指标是否自定义 O-归属指标ID不能为空",false);
Assert.isNull(queryTargetObjPlanExDetailReq.getEvaluationTemplateId(),"D3获取目标内容最新批次信息(公共)-3-3-05查指标是否自定义 O-冗余评价模板ID不能为空",false);
      omsTargetObjectivePlanExtend = mOmsTargetObjectivePlanExtendService.queryTargetObjPlanExDetail(queryTargetObjPlanExDetailReq)/*vcase invoke 本地 method 方法调用;*/;



if((omsTargetObjectivePlanExtend!= null&&  omsTargetObjectivePlanExtend.getIsCustomObjective() !=null && omsTargetObjectivePlanExtend.getIsCustomObjective().equals("FALSE"))) {
        //if(3-3-05查指标是否自定义 O.是否自定义OKR目标 等于 否)  47984

if((reqDto!= null&& reqDto.getLevelNumber() != null &&reqDto!= null&& reqDto.getLevelNumber() == 1L)) {
        //if((D3获取目标内容最新批次信息(公共).层级 值不等于空  and D3获取目标内容最新批次信息(公共).层级 等于 1))  47988

OmsBizAppBatch omsBizAppBatch_2 = null;
    QueryBizAppBatchDetailReq queryBizAppBatchDetailReq_1=new QueryBizAppBatchDetailReq();
  queryBizAppBatchDetailReq_1.setIsNewbatch("TRUE");//sourceId:1099412_1_47989
if(reqDto!=null){
      queryBizAppBatchDetailReq_1.setAscriptionObjectId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1099411_1_47989
queryBizAppBatchDetailReq_1.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1099413_1_47989
    }

    /*3-13-01查当前主体最新批次[2668]   */
    Assert.isNull(queryBizAppBatchDetailReq_1.getAscriptionObjectId(),"D3获取目标内容最新批次信息(公共)-3-13-01查当前主体最新批次-归属对象ID不能为空",false);
Assert.isNull(queryBizAppBatchDetailReq_1.getIsNewbatch(),"D3获取目标内容最新批次信息(公共)-3-13-01查当前主体最新批次-是否最新批次不能为空",false);
Assert.isNull(queryBizAppBatchDetailReq_1.getThemeContentId(),"D3获取目标内容最新批次信息(公共)-3-13-01查当前主体最新批次-主题内容ID不能为空",false);
      omsBizAppBatch_2 = mOmsBizAppBatchService.queryBizAppBatchDetail(queryBizAppBatchDetailReq_1)/*vcase invoke 本地 method 方法调用;*/;


      omsBizAppBatch_1 = omsBizAppBatch_2;
      }
else if((reqDto!= null&& reqDto.getLevelNumber() != null &&reqDto!= null&& reqDto.getLevelNumber() == 2L)){
       //elseif((D3获取目标内容最新批次信息(公共).层级 值不等于空  and D3获取目标内容最新批次信息(公共).层级 等于 2))  47990

OmsVirtualOrgMemberDept omsVirtualOrgMemberDept = null;
    QueryVirtualOrgMemberDeptDetailReq queryVirtualOrgMemberDeptDetailReq=new QueryVirtualOrgMemberDeptDetailReq();
  queryVirtualOrgMemberDeptDetailReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1099497_1_48000
if(reqDto!=null){
      queryVirtualOrgMemberDeptDetailReq.setEntityId(reqDto.getParentObjectiveId());//SimpleFieldAssign//sourceId:1099495_1_48000
queryVirtualOrgMemberDeptDetailReq.setEvaluationTemplateId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1099496_1_48000
    }

    /*3-6-03查牵头部门[2518]   */
    Assert.isNull(queryVirtualOrgMemberDeptDetailReq.getEntityId(),"D3获取目标内容最新批次信息(公共)-3-6-03查牵头部门-冗余内容表主键ID不能为空",false);
Assert.isNull(queryVirtualOrgMemberDeptDetailReq.getEvaluationTemplateId(),"D3获取目标内容最新批次信息(公共)-3-6-03查牵头部门-归属对象ID不能为空",false);
Assert.isNull(queryVirtualOrgMemberDeptDetailReq.getSubjectLifeCycle(),"D3获取目标内容最新批次信息(公共)-3-6-03查牵头部门-主体生命周期不能为空",false);
      omsVirtualOrgMemberDept = mOmsVirtualOrgMemberDeptService.queryVirtualOrgMemberDeptDetail(queryVirtualOrgMemberDeptDetailReq)/*vcase invoke 本地 method 方法调用;*/;



OmsEvaluationObjectTargetCycle omsEvaluationObjectTargetCycle = null;
    if(omsVirtualOrgMemberDept !=null){
          QueryEvaObjTargetCycleDetailReq queryEvaObjTargetCycleDetailReq=new QueryEvaObjTargetCycleDetailReq();
  queryEvaObjTargetCycleDetailReq.setEvaObjTypeCode("FLEVEL_OBJ_TASK_DUTY_DEPT");//sourceId:1099576_1_48001
queryEvaObjTargetCycleDetailReq.setTargetCycleContentTypeCode("TARGET");//sourceId:1099577_1_48001
queryEvaObjTargetCycleDetailReq.setIsParentCycle("TRUE");//sourceId:1099578_1_48001
queryEvaObjTargetCycleDetailReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1099580_1_48001
if(omsVirtualOrgMemberDept!=null){
      queryEvaObjTargetCycleDetailReq.setEvaObjEntityId(omsVirtualOrgMemberDept.getDeptId());//SimpleFieldAssign//sourceId:1099575_1_48001
    }
if(reqDto!=null){
      queryEvaObjTargetCycleDetailReq.setEvaluationTemplateId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1099579_1_48001
    }

    /*3-3-09查责任主体目标根节点 ID（部门目标任务书树）[2313]   */
    Assert.isNull(queryEvaObjTargetCycleDetailReq.getEvaObjEntityId(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门目标任务书树）-被评对象内容表主键ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq.getEvaObjTypeCode(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门目标任务书树）-被评对象类型编码不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq.getTargetCycleContentTypeCode(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门目标任务书树）-关联目标内容类型编码不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq.getIsParentCycle(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门目标任务书树）-是否父周期不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq.getEvaluationTemplateId(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门目标任务书树）-冗余评价模板ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq.getSubjectLifeCycle(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门目标任务书树）-主体生命周期不能为空",false);
      omsEvaluationObjectTargetCycle = mOmsEvaluationObjectTargetCycleService.queryEvaObjTargetCycleDetail(queryEvaObjTargetCycleDetailReq)/*vcase invoke 本地 method 方法调用;*/;



           }
OmsBizAppBatch omsBizAppBatch_3 = null;
    if(omsEvaluationObjectTargetCycle !=null){
          QueryBizAppBatchDetailReq queryBizAppBatchDetailReq_2=new QueryBizAppBatchDetailReq();
  queryBizAppBatchDetailReq_2.setIsNewbatch("TRUE");//sourceId:1099412_1_48017
if(omsEvaluationObjectTargetCycle!=null){
      queryBizAppBatchDetailReq_2.setAscriptionObjectId(omsEvaluationObjectTargetCycle.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1099411_1_48017
    }
if(reqDto!=null){
      queryBizAppBatchDetailReq_2.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1099413_1_48017
    }

    /*3-13-01查当前主体最新批次[2668]   */
    Assert.isNull(queryBizAppBatchDetailReq_2.getAscriptionObjectId(),"D3获取目标内容最新批次信息(公共)-3-13-01查当前主体最新批次-归属对象ID不能为空",false);
Assert.isNull(queryBizAppBatchDetailReq_2.getIsNewbatch(),"D3获取目标内容最新批次信息(公共)-3-13-01查当前主体最新批次-是否最新批次不能为空",false);
Assert.isNull(queryBizAppBatchDetailReq_2.getThemeContentId(),"D3获取目标内容最新批次信息(公共)-3-13-01查当前主体最新批次-主题内容ID不能为空",false);
      omsBizAppBatch_3 = mOmsBizAppBatchService.queryBizAppBatchDetail(queryBizAppBatchDetailReq_2)/*vcase invoke 本地 method 方法调用;*/;


      omsBizAppBatch_1 = omsBizAppBatch_3;
           }
    }
else if((reqDto!= null&& reqDto.getLevelNumber() != null &&reqDto!= null&& reqDto.getLevelNumber() == 3L)){
       //elseif((D3获取目标内容最新批次信息(公共).层级 值不等于空  and D3获取目标内容最新批次信息(公共).层级 等于 3))  48002

OmsTargetObjectivePlanExtend omsTargetObjectivePlanExtend_2 = null;
    QueryTargetObjPlanExDetailReq queryTargetObjPlanExDetailReq_1=new QueryTargetObjPlanExDetailReq();
  queryTargetObjPlanExDetailReq_1.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1100039_1_48006
if(reqDto!=null){
      queryTargetObjPlanExDetailReq_1.setObjectiveId(reqDto.getParentObjectiveId());//SimpleFieldAssign//sourceId:1100037_1_48006
queryTargetObjPlanExDetailReq_1.setEvaluationTemplateId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1100038_1_48006
    }

    /*3-3-05查归属父级指标是否用于一级部门[2725]   */
    Assert.isNull(queryTargetObjPlanExDetailReq_1.getObjectiveId(),"D3获取目标内容最新批次信息(公共)-3-3-05查归属父级指标是否用于一级部门-归属指标ID不能为空",false);
Assert.isNull(queryTargetObjPlanExDetailReq_1.getEvaluationTemplateId(),"D3获取目标内容最新批次信息(公共)-3-3-05查归属父级指标是否用于一级部门-冗余评价模板ID不能为空",false);
Assert.isNull(queryTargetObjPlanExDetailReq_1.getSubjectLifeCycle(),"D3获取目标内容最新批次信息(公共)-3-3-05查归属父级指标是否用于一级部门-主体生命周期不能为空",false);
      omsTargetObjectivePlanExtend_2 = mOmsTargetObjectivePlanExtendService.queryTargetObjPlanExDetail(queryTargetObjPlanExDetailReq_1)/*vcase invoke 本地 method 方法调用;*/;



if((omsTargetObjectivePlanExtend_2!= null&&  omsTargetObjectivePlanExtend_2.getIsUseFirstDept() !=null && omsTargetObjectivePlanExtend_2.getIsUseFirstDept().equals("TRUE"))) {
        //if(3-3-05查归属父级指标是否用于一级部门.是否用于一级部门 等于 是)  48007

OmsVirtualOrgMemberDept omsVirtualOrgMemberDept_2 = null;
    QueryVirtualOrgMemberDeptDetailReq queryVirtualOrgMemberDeptDetailReq_1=new QueryVirtualOrgMemberDeptDetailReq();
  queryVirtualOrgMemberDeptDetailReq_1.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1099497_1_48008
if(reqDto!=null){
      queryVirtualOrgMemberDeptDetailReq_1.setEntityId(reqDto.getParentObjectiveId());//SimpleFieldAssign//sourceId:1099495_1_48008
queryVirtualOrgMemberDeptDetailReq_1.setEvaluationTemplateId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1099496_1_48008
    }

    /*3-6-03查牵头部门[2518]   */
    Assert.isNull(queryVirtualOrgMemberDeptDetailReq_1.getEntityId(),"D3获取目标内容最新批次信息(公共)-3-6-03查牵头部门-冗余内容表主键ID不能为空",false);
Assert.isNull(queryVirtualOrgMemberDeptDetailReq_1.getEvaluationTemplateId(),"D3获取目标内容最新批次信息(公共)-3-6-03查牵头部门-归属对象ID不能为空",false);
Assert.isNull(queryVirtualOrgMemberDeptDetailReq_1.getSubjectLifeCycle(),"D3获取目标内容最新批次信息(公共)-3-6-03查牵头部门-主体生命周期不能为空",false);
      omsVirtualOrgMemberDept_2 = mOmsVirtualOrgMemberDeptService.queryVirtualOrgMemberDeptDetail(queryVirtualOrgMemberDeptDetailReq_1)/*vcase invoke 本地 method 方法调用;*/;



OmsEvaluationObjectTargetCycle omsEvaluationObjectTargetCycle_2 = null;
    if(omsVirtualOrgMemberDept_2 !=null){
          QueryEvaObjTargetCycleDetailReq queryEvaObjTargetCycleDetailReq_1=new QueryEvaObjTargetCycleDetailReq();
  queryEvaObjTargetCycleDetailReq_1.setEvaObjTypeCode("FLEVEL_OBJ_TASK_DUTY_DEPT");//sourceId:1099576_1_48009
queryEvaObjTargetCycleDetailReq_1.setTargetCycleContentTypeCode("TARGET");//sourceId:1099577_1_48009
queryEvaObjTargetCycleDetailReq_1.setIsParentCycle("TRUE");//sourceId:1099578_1_48009
queryEvaObjTargetCycleDetailReq_1.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1099580_1_48009
if(omsVirtualOrgMemberDept_2!=null){
      queryEvaObjTargetCycleDetailReq_1.setEvaObjEntityId(omsVirtualOrgMemberDept_2.getDeptId());//SimpleFieldAssign//sourceId:1099575_1_48009
    }
if(reqDto!=null){
      queryEvaObjTargetCycleDetailReq_1.setEvaluationTemplateId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1099579_1_48009
    }

    /*3-3-09查责任主体目标根节点 ID（部门目标任务书树）[2313]   */
    Assert.isNull(queryEvaObjTargetCycleDetailReq_1.getEvaObjEntityId(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门目标任务书树）-被评对象内容表主键ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_1.getEvaObjTypeCode(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门目标任务书树）-被评对象类型编码不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_1.getTargetCycleContentTypeCode(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门目标任务书树）-关联目标内容类型编码不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_1.getIsParentCycle(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门目标任务书树）-是否父周期不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_1.getEvaluationTemplateId(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门目标任务书树）-冗余评价模板ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_1.getSubjectLifeCycle(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门目标任务书树）-主体生命周期不能为空",false);
      omsEvaluationObjectTargetCycle_2 = mOmsEvaluationObjectTargetCycleService.queryEvaObjTargetCycleDetail(queryEvaObjTargetCycleDetailReq_1)/*vcase invoke 本地 method 方法调用;*/;



           }
OmsBizAppBatch omsBizAppBatch_4 = null;
    if(omsEvaluationObjectTargetCycle_2 !=null){
          QueryBizAppBatchDetailReq queryBizAppBatchDetailReq_3=new QueryBizAppBatchDetailReq();
  queryBizAppBatchDetailReq_3.setIsNewbatch("TRUE");//sourceId:1099412_1_48018
if(omsEvaluationObjectTargetCycle_2!=null){
      queryBizAppBatchDetailReq_3.setAscriptionObjectId(omsEvaluationObjectTargetCycle_2.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1099411_1_48018
    }
if(reqDto!=null){
      queryBizAppBatchDetailReq_3.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1099413_1_48018
    }

    /*3-13-01查当前主体最新批次[2668]   */
    Assert.isNull(queryBizAppBatchDetailReq_3.getAscriptionObjectId(),"D3获取目标内容最新批次信息(公共)-3-13-01查当前主体最新批次-归属对象ID不能为空",false);
Assert.isNull(queryBizAppBatchDetailReq_3.getIsNewbatch(),"D3获取目标内容最新批次信息(公共)-3-13-01查当前主体最新批次-是否最新批次不能为空",false);
Assert.isNull(queryBizAppBatchDetailReq_3.getThemeContentId(),"D3获取目标内容最新批次信息(公共)-3-13-01查当前主体最新批次-主题内容ID不能为空",false);
      omsBizAppBatch_4 = mOmsBizAppBatchService.queryBizAppBatchDetail(queryBizAppBatchDetailReq_3)/*vcase invoke 本地 method 方法调用;*/;


      omsBizAppBatch_1 = omsBizAppBatch_4;
           }
      }
else if((omsTargetObjectivePlanExtend_2!= null&&  omsTargetObjectivePlanExtend_2.getIsUseFirstDept() !=null && omsTargetObjectivePlanExtend_2.getIsUseFirstDept().equals("FALSE"))){
       //elseif(3-3-05查归属父级指标是否用于一级部门.是否用于一级部门 等于 否)  48010

OmsVirtualOrgMemberDept omsVirtualOrgMemberDept_3 = null;
    QueryVirtualOrgMemberDeptDetailReq queryVirtualOrgMemberDeptDetailReq_2=new QueryVirtualOrgMemberDeptDetailReq();
  queryVirtualOrgMemberDeptDetailReq_2.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1099497_1_48013
if(reqDto!=null){
      queryVirtualOrgMemberDeptDetailReq_2.setEntityId(reqDto.getParentObjectiveId());//SimpleFieldAssign//sourceId:1099495_1_48013
queryVirtualOrgMemberDeptDetailReq_2.setEvaluationTemplateId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1099496_1_48013
    }

    /*3-6-03查牵头部门[2518]   */
    Assert.isNull(queryVirtualOrgMemberDeptDetailReq_2.getEntityId(),"D3获取目标内容最新批次信息(公共)-3-6-03查牵头部门-冗余内容表主键ID不能为空",false);
Assert.isNull(queryVirtualOrgMemberDeptDetailReq_2.getEvaluationTemplateId(),"D3获取目标内容最新批次信息(公共)-3-6-03查牵头部门-归属对象ID不能为空",false);
Assert.isNull(queryVirtualOrgMemberDeptDetailReq_2.getSubjectLifeCycle(),"D3获取目标内容最新批次信息(公共)-3-6-03查牵头部门-主体生命周期不能为空",false);
      omsVirtualOrgMemberDept_3 = mOmsVirtualOrgMemberDeptService.queryVirtualOrgMemberDeptDetail(queryVirtualOrgMemberDeptDetailReq_2)/*vcase invoke 本地 method 方法调用;*/;



OmsEvaluationObjectTargetCycle omsEvaluationObjectTargetCycle_3 = null;
    if(omsVirtualOrgMemberDept_3 !=null){
          QueryEvaObjTargetCycleDetailReq queryEvaObjTargetCycleDetailReq_2=new QueryEvaObjTargetCycleDetailReq();
  queryEvaObjTargetCycleDetailReq_2.setEvaObjTypeCode("OKR_SUBJECT_DEPT");//sourceId:1100119_1_48015
queryEvaObjTargetCycleDetailReq_2.setTargetCycleContentTypeCode("TARGET");//sourceId:1100120_1_48015
queryEvaObjTargetCycleDetailReq_2.setIsParentCycle("TRUE");//sourceId:1100121_1_48015
queryEvaObjTargetCycleDetailReq_2.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1100123_1_48015
if(omsVirtualOrgMemberDept_3!=null){
      queryEvaObjTargetCycleDetailReq_2.setEvaObjEntityId(omsVirtualOrgMemberDept_3.getDeptId());//SimpleFieldAssign//sourceId:1100118_1_48015
    }
if(reqDto!=null){
      queryEvaObjTargetCycleDetailReq_2.setEvaluationTemplateId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1100122_1_48015
    }

    /*3-3-09查责任主体目标根节点 ID（部门OKR树）[2313]   */
    Assert.isNull(queryEvaObjTargetCycleDetailReq_2.getEvaObjEntityId(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门OKR树）-被评对象内容表主键ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_2.getEvaObjTypeCode(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门OKR树）-被评对象类型编码不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_2.getTargetCycleContentTypeCode(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门OKR树）-关联目标内容类型编码不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_2.getIsParentCycle(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门OKR树）-是否父周期不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_2.getEvaluationTemplateId(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门OKR树）-冗余评价模板ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_2.getSubjectLifeCycle(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门OKR树）-主体生命周期不能为空",false);
      omsEvaluationObjectTargetCycle_3 = mOmsEvaluationObjectTargetCycleService.queryEvaObjTargetCycleDetail(queryEvaObjTargetCycleDetailReq_2)/*vcase invoke 本地 method 方法调用;*/;



           }
OmsBizAppBatch omsBizAppBatch_5 = null;
    if(omsEvaluationObjectTargetCycle_3 !=null){
          QueryBizAppBatchDetailReq queryBizAppBatchDetailReq_4=new QueryBizAppBatchDetailReq();
  queryBizAppBatchDetailReq_4.setIsNewbatch("TRUE");//sourceId:1099412_1_48019
if(omsEvaluationObjectTargetCycle_3!=null){
      queryBizAppBatchDetailReq_4.setAscriptionObjectId(omsEvaluationObjectTargetCycle_3.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1099411_1_48019
    }
if(reqDto!=null){
      queryBizAppBatchDetailReq_4.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1099413_1_48019
    }

    /*3-13-01查当前主体最新批次[2668]   */
    Assert.isNull(queryBizAppBatchDetailReq_4.getAscriptionObjectId(),"D3获取目标内容最新批次信息(公共)-3-13-01查当前主体最新批次-归属对象ID不能为空",false);
Assert.isNull(queryBizAppBatchDetailReq_4.getIsNewbatch(),"D3获取目标内容最新批次信息(公共)-3-13-01查当前主体最新批次-是否最新批次不能为空",false);
Assert.isNull(queryBizAppBatchDetailReq_4.getThemeContentId(),"D3获取目标内容最新批次信息(公共)-3-13-01查当前主体最新批次-主题内容ID不能为空",false);
      omsBizAppBatch_5 = mOmsBizAppBatchService.queryBizAppBatchDetail(queryBizAppBatchDetailReq_4)/*vcase invoke 本地 method 方法调用;*/;


      omsBizAppBatch_1 = omsBizAppBatch_5;
           }
    }
    }
else if((reqDto!= null&& reqDto.getLevelNumber() != null &&reqDto!= null&& reqDto.getLevelNumber() > 3L)){
       //elseif((D3获取目标内容最新批次信息(公共).层级 值不等于空  and D3获取目标内容最新批次信息(公共).层级 大于 3))  48005

OmsVirtualOrgMemberDept omsVirtualOrgMemberDept_4 = null;
    QueryVirtualOrgMemberDeptDetailReq queryVirtualOrgMemberDeptDetailReq_3=new QueryVirtualOrgMemberDeptDetailReq();
  queryVirtualOrgMemberDeptDetailReq_3.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1099497_1_48011
if(reqDto!=null){
      queryVirtualOrgMemberDeptDetailReq_3.setEntityId(reqDto.getParentObjectiveId());//SimpleFieldAssign//sourceId:1099495_1_48011
queryVirtualOrgMemberDeptDetailReq_3.setEvaluationTemplateId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1099496_1_48011
    }

    /*3-6-03查牵头部门[2518]   */
    Assert.isNull(queryVirtualOrgMemberDeptDetailReq_3.getEntityId(),"D3获取目标内容最新批次信息(公共)-3-6-03查牵头部门-冗余内容表主键ID不能为空",false);
Assert.isNull(queryVirtualOrgMemberDeptDetailReq_3.getEvaluationTemplateId(),"D3获取目标内容最新批次信息(公共)-3-6-03查牵头部门-归属对象ID不能为空",false);
Assert.isNull(queryVirtualOrgMemberDeptDetailReq_3.getSubjectLifeCycle(),"D3获取目标内容最新批次信息(公共)-3-6-03查牵头部门-主体生命周期不能为空",false);
      omsVirtualOrgMemberDept_4 = mOmsVirtualOrgMemberDeptService.queryVirtualOrgMemberDeptDetail(queryVirtualOrgMemberDeptDetailReq_3)/*vcase invoke 本地 method 方法调用;*/;



OmsEvaluationObjectTargetCycle omsEvaluationObjectTargetCycle_5 = null;
    if(omsVirtualOrgMemberDept_4 !=null){
          QueryEvaObjTargetCycleDetailReq queryEvaObjTargetCycleDetailReq_3=new QueryEvaObjTargetCycleDetailReq();
  queryEvaObjTargetCycleDetailReq_3.setEvaObjTypeCode("OKR_SUBJECT_DEPT");//sourceId:1100119_1_48016
queryEvaObjTargetCycleDetailReq_3.setTargetCycleContentTypeCode("TARGET");//sourceId:1100120_1_48016
queryEvaObjTargetCycleDetailReq_3.setIsParentCycle("TRUE");//sourceId:1100121_1_48016
queryEvaObjTargetCycleDetailReq_3.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1100123_1_48016
if(omsVirtualOrgMemberDept_4!=null){
      queryEvaObjTargetCycleDetailReq_3.setEvaObjEntityId(omsVirtualOrgMemberDept_4.getDeptId());//SimpleFieldAssign//sourceId:1100118_1_48016
    }
if(reqDto!=null){
      queryEvaObjTargetCycleDetailReq_3.setEvaluationTemplateId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1100122_1_48016
    }

    /*3-3-09查责任主体目标根节点 ID（部门OKR树）[2313]   */
    Assert.isNull(queryEvaObjTargetCycleDetailReq_3.getEvaObjEntityId(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门OKR树）-被评对象内容表主键ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_3.getEvaObjTypeCode(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门OKR树）-被评对象类型编码不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_3.getTargetCycleContentTypeCode(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门OKR树）-关联目标内容类型编码不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_3.getIsParentCycle(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门OKR树）-是否父周期不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_3.getEvaluationTemplateId(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门OKR树）-冗余评价模板ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_3.getSubjectLifeCycle(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门OKR树）-主体生命周期不能为空",false);
      omsEvaluationObjectTargetCycle_5 = mOmsEvaluationObjectTargetCycleService.queryEvaObjTargetCycleDetail(queryEvaObjTargetCycleDetailReq_3)/*vcase invoke 本地 method 方法调用;*/;



           }
OmsBizAppBatch omsBizAppBatch_6 = null;
    if(omsEvaluationObjectTargetCycle_5 !=null){
          QueryBizAppBatchDetailReq queryBizAppBatchDetailReq_5=new QueryBizAppBatchDetailReq();
  queryBizAppBatchDetailReq_5.setIsNewbatch("TRUE");//sourceId:1099412_1_48020
if(omsEvaluationObjectTargetCycle_5!=null){
      queryBizAppBatchDetailReq_5.setAscriptionObjectId(omsEvaluationObjectTargetCycle_5.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1099411_1_48020
    }
if(reqDto!=null){
      queryBizAppBatchDetailReq_5.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1099413_1_48020
    }

    /*3-13-01查当前主体最新批次[2668]   */
    Assert.isNull(queryBizAppBatchDetailReq_5.getAscriptionObjectId(),"D3获取目标内容最新批次信息(公共)-3-13-01查当前主体最新批次-归属对象ID不能为空",false);
Assert.isNull(queryBizAppBatchDetailReq_5.getIsNewbatch(),"D3获取目标内容最新批次信息(公共)-3-13-01查当前主体最新批次-是否最新批次不能为空",false);
Assert.isNull(queryBizAppBatchDetailReq_5.getThemeContentId(),"D3获取目标内容最新批次信息(公共)-3-13-01查当前主体最新批次-主题内容ID不能为空",false);
      omsBizAppBatch_6 = mOmsBizAppBatchService.queryBizAppBatchDetail(queryBizAppBatchDetailReq_5)/*vcase invoke 本地 method 方法调用;*/;


      omsBizAppBatch_1 = omsBizAppBatch_6;
           }
    }
      }
else if((omsTargetObjectivePlanExtend!= null&&  omsTargetObjectivePlanExtend.getIsCustomObjective() !=null && omsTargetObjectivePlanExtend.getIsCustomObjective().equals("TRUE"))){
       //elseif(3-3-05查指标是否自定义 O.是否自定义OKR目标 等于 是)  47986

QueryTargetContDutyBodyDetailComRespDto queryTargetContDutyBodyDetailComRespDto = null;
    QueryTargetContDutyBodyDetailComReqDto queryTargetContDutyBodyDetailComReqDto=new QueryTargetContDutyBodyDetailComReqDto();
  if(reqDto!=null){
      queryTargetContDutyBodyDetailComReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1100126_1_48023
queryTargetContDutyBodyDetailComReqDto.setEvaluationTemplateId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1100127_1_48023
    }

    /*D3查目标内容责任主体（公共）[7260]   */
    Assert.isNull(queryTargetContDutyBodyDetailComReqDto.getEntityId(),"D3获取目标内容最新批次信息(公共)-D3查目标内容责任主体（公共）-内容表主键ID不能为空",false);
Assert.isNull(queryTargetContDutyBodyDetailComReqDto.getEvaluationTemplateId(),"D3获取目标内容最新批次信息(公共)-D3查目标内容责任主体（公共）-冗余评价模板ID不能为空",false);
      queryTargetContDutyBodyDetailComRespDto = virtualOrgService.queryTargetContDutyBodyDetailCom(queryTargetContDutyBodyDetailComReqDto)/*vcase invoke isSameApp*/;



if((queryTargetContDutyBodyDetailComRespDto!= null&&  queryTargetContDutyBodyDetailComRespDto.getRespBodyType() !=null && queryTargetContDutyBodyDetailComRespDto.getRespBodyType().equals("DEPT"))) {
        //if(D3查目标内容责任主体（公共）.责任主体类型 等于 部门)  48024

OmsEvaluationObjectTargetCycle omsEvaluationObjectTargetCycle_6 = null;
    if(queryTargetContDutyBodyDetailComRespDto !=null){
          QueryEvaObjTargetCycleDetailReq queryEvaObjTargetCycleDetailReq_4=new QueryEvaObjTargetCycleDetailReq();
  queryEvaObjTargetCycleDetailReq_4.setEvaObjTypeCode("OKR_SUBJECT_DEPT");//sourceId:1100119_1_48026
queryEvaObjTargetCycleDetailReq_4.setTargetCycleContentTypeCode("TARGET");//sourceId:1100120_1_48026
queryEvaObjTargetCycleDetailReq_4.setIsParentCycle("TRUE");//sourceId:1100121_1_48026
queryEvaObjTargetCycleDetailReq_4.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1100123_1_48026
if(queryTargetContDutyBodyDetailComRespDto!=null){
      queryEvaObjTargetCycleDetailReq_4.setEvaObjEntityId(queryTargetContDutyBodyDetailComRespDto.getDutyBodyId());//SimpleFieldAssign//sourceId:1100118_1_48026
    }
if(reqDto!=null){
      queryEvaObjTargetCycleDetailReq_4.setEvaluationTemplateId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1100122_1_48026
    }

    /*3-3-09查责任主体目标根节点 ID（部门OKR树）[2313]   */
    Assert.isNull(queryEvaObjTargetCycleDetailReq_4.getEvaObjEntityId(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门OKR树）-被评对象内容表主键ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_4.getEvaObjTypeCode(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门OKR树）-被评对象类型编码不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_4.getTargetCycleContentTypeCode(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门OKR树）-关联目标内容类型编码不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_4.getIsParentCycle(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门OKR树）-是否父周期不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_4.getEvaluationTemplateId(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门OKR树）-冗余评价模板ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_4.getSubjectLifeCycle(),"D3获取目标内容最新批次信息(公共)-3-3-09查责任主体目标根节点 ID（部门OKR树）-主体生命周期不能为空",false);
      omsEvaluationObjectTargetCycle_6 = mOmsEvaluationObjectTargetCycleService.queryEvaObjTargetCycleDetail(queryEvaObjTargetCycleDetailReq_4)/*vcase invoke 本地 method 方法调用;*/;



           }
OmsBizAppBatch omsBizAppBatch_7 = null;
    if(omsEvaluationObjectTargetCycle_6 !=null){
          QueryBizAppBatchDetailReq queryBizAppBatchDetailReq_6=new QueryBizAppBatchDetailReq();
  queryBizAppBatchDetailReq_6.setIsNewbatch("TRUE");//sourceId:1099412_1_48027
if(omsEvaluationObjectTargetCycle_6!=null){
      queryBizAppBatchDetailReq_6.setAscriptionObjectId(omsEvaluationObjectTargetCycle_6.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1099411_1_48027
    }
if(reqDto!=null){
      queryBizAppBatchDetailReq_6.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1099413_1_48027
    }

    /*3-13-01查当前主体最新批次[2668]   */
    Assert.isNull(queryBizAppBatchDetailReq_6.getAscriptionObjectId(),"D3获取目标内容最新批次信息(公共)-3-13-01查当前主体最新批次-归属对象ID不能为空",false);
Assert.isNull(queryBizAppBatchDetailReq_6.getIsNewbatch(),"D3获取目标内容最新批次信息(公共)-3-13-01查当前主体最新批次-是否最新批次不能为空",false);
Assert.isNull(queryBizAppBatchDetailReq_6.getThemeContentId(),"D3获取目标内容最新批次信息(公共)-3-13-01查当前主体最新批次-主题内容ID不能为空",false);
      omsBizAppBatch_7 = mOmsBizAppBatchService.queryBizAppBatchDetail(queryBizAppBatchDetailReq_6)/*vcase invoke 本地 method 方法调用;*/;


      omsBizAppBatch_1 = omsBizAppBatch_7;
           }
      }
else if((queryTargetContDutyBodyDetailComRespDto!= null&&  queryTargetContDutyBodyDetailComRespDto.getRespBodyType() !=null && queryTargetContDutyBodyDetailComRespDto.getRespBodyType().equals("PERSONAL"))){
       //elseif(D3查目标内容责任主体（公共）.责任主体类型 等于 个人)  48025

OmsEvaluationObjectTargetCycle omsEvaluationObjectTargetCycle_7 = null;
    if(queryTargetContDutyBodyDetailComRespDto !=null){
          QueryEvaObjTargetCycleDetailReq queryEvaObjTargetCycleDetailReq_5=new QueryEvaObjTargetCycleDetailReq();
  queryEvaObjTargetCycleDetailReq_5.setEvaObjTypeCode("OKR_SUBJECT_PERSONAL");//sourceId:1100207_1_48029
queryEvaObjTargetCycleDetailReq_5.setTargetCycleContentTypeCode("TARGET");//sourceId:1100208_1_48029
queryEvaObjTargetCycleDetailReq_5.setIsParentCycle("TRUE");//sourceId:1100209_1_48029
queryEvaObjTargetCycleDetailReq_5.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1100211_1_48029
if(queryTargetContDutyBodyDetailComRespDto!=null){
      queryEvaObjTargetCycleDetailReq_5.setEvaObjEntityId(queryTargetContDutyBodyDetailComRespDto.getDutyBodyId());//SimpleFieldAssign//sourceId:1100206_1_48029
    }
if(reqDto!=null){
      queryEvaObjTargetCycleDetailReq_5.setEvaluationTemplateId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1100210_1_48029
    }

    /*3-3-09查个人OKR根节点ID[2313]   */
    Assert.isNull(queryEvaObjTargetCycleDetailReq_5.getEvaObjEntityId(),"D3获取目标内容最新批次信息(公共)-3-3-09查个人OKR根节点ID-被评对象内容表主键ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_5.getEvaObjTypeCode(),"D3获取目标内容最新批次信息(公共)-3-3-09查个人OKR根节点ID-被评对象类型编码不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_5.getTargetCycleContentTypeCode(),"D3获取目标内容最新批次信息(公共)-3-3-09查个人OKR根节点ID-关联目标内容类型编码不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_5.getIsParentCycle(),"D3获取目标内容最新批次信息(公共)-3-3-09查个人OKR根节点ID-是否父周期不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_5.getEvaluationTemplateId(),"D3获取目标内容最新批次信息(公共)-3-3-09查个人OKR根节点ID-冗余评价模板ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReq_5.getSubjectLifeCycle(),"D3获取目标内容最新批次信息(公共)-3-3-09查个人OKR根节点ID-主体生命周期不能为空",false);
      omsEvaluationObjectTargetCycle_7 = mOmsEvaluationObjectTargetCycleService.queryEvaObjTargetCycleDetail(queryEvaObjTargetCycleDetailReq_5)/*vcase invoke 本地 method 方法调用;*/;



           }
OmsBizAppBatch omsBizAppBatch_8 = null;
    if(omsEvaluationObjectTargetCycle_7 !=null){
          QueryBizAppBatchDetailReq queryBizAppBatchDetailReq_7=new QueryBizAppBatchDetailReq();
  queryBizAppBatchDetailReq_7.setIsNewbatch("TRUE");//sourceId:1099412_1_48028
if(omsEvaluationObjectTargetCycle_7!=null){
      queryBizAppBatchDetailReq_7.setAscriptionObjectId(omsEvaluationObjectTargetCycle_7.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1099411_1_48028
    }
if(reqDto!=null){
      queryBizAppBatchDetailReq_7.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1099413_1_48028
    }

    /*3-13-01查当前主体最新批次[2668]   */
    Assert.isNull(queryBizAppBatchDetailReq_7.getAscriptionObjectId(),"D3获取目标内容最新批次信息(公共)-3-13-01查当前主体最新批次-归属对象ID不能为空",false);
Assert.isNull(queryBizAppBatchDetailReq_7.getIsNewbatch(),"D3获取目标内容最新批次信息(公共)-3-13-01查当前主体最新批次-是否最新批次不能为空",false);
Assert.isNull(queryBizAppBatchDetailReq_7.getThemeContentId(),"D3获取目标内容最新批次信息(公共)-3-13-01查当前主体最新批次-主题内容ID不能为空",false);
      omsBizAppBatch_8 = mOmsBizAppBatchService.queryBizAppBatchDetail(queryBizAppBatchDetailReq_7)/*vcase invoke 本地 method 方法调用;*/;


      omsBizAppBatch_1 = omsBizAppBatch_8;
           }
    }
    }
    }
ObtainTargetContNewBatchInfoComRespDto retData = new ObtainTargetContNewBatchInfoComRespDto();
  if(omsBizAppBatch_1!=null){
      retData.setBatchCode(omsBizAppBatch_1.getBatchCode());//SimpleFieldAssign//sourceId:1100124_1
    }




return retData;
  }
//@Resource
 //private undefinedService undefinedService;
  //
}
